about summary refs log tree commit diff
path: root/tests/ui/asm/inline-syntax.arm_llvm_18.stderr
diff options
context:
space:
mode:
authorKrasimir Georgiev <krasimir@google.com>2024-01-18 12:48:38 +0000
committerKrasimir Georgiev <krasimir@google.com>2024-01-18 12:48:38 +0000
commit2cc81baaf4b71cb2903f93cfe2222d37feb9a34d (patch)
treecd843f08e20f250436d217ef8fccf8dcfc6c5128 /tests/ui/asm/inline-syntax.arm_llvm_18.stderr
parent25b706cde3e8e0c2d63831e12b57bd187e9b66fe (diff)
downloadrust-2cc81baaf4b71cb2903f93cfe2222d37feb9a34d.tar.gz
rust-2cc81baaf4b71cb2903f93cfe2222d37feb9a34d.zip
tests/ui/asm/inline-syntax: adapt for LLVM 18
Diffstat (limited to 'tests/ui/asm/inline-syntax.arm_llvm_18.stderr')
-rw-r--r--tests/ui/asm/inline-syntax.arm_llvm_18.stderr90
1 files changed, 90 insertions, 0 deletions
diff --git a/tests/ui/asm/inline-syntax.arm_llvm_18.stderr b/tests/ui/asm/inline-syntax.arm_llvm_18.stderr
new file mode 100644
index 00000000000..4926293bb88
--- /dev/null
+++ b/tests/ui/asm/inline-syntax.arm_llvm_18.stderr
@@ -0,0 +1,90 @@
+error: unknown directive
+   |
+note: instantiated into assembly here
+  --> <inline asm>:1:1
+   |
+LL | .intel_syntax noprefix
+   | ^
+
+error: unknown directive
+   |
+note: instantiated into assembly here
+  --> <inline asm>:1:1
+   |
+LL | .intel_syntax noprefix
+   | ^
+
+error: unknown directive
+  --> $DIR/inline-syntax.rs:38:15
+   |
+LL |         asm!(".intel_syntax noprefix", "nop");
+   |               ^
+   |
+note: instantiated into assembly here
+  --> <inline asm>:1:2
+   |
+LL |     .intel_syntax noprefix
+   |     ^
+
+error: unknown directive
+  --> $DIR/inline-syntax.rs:42:15
+   |
+LL |         asm!(".intel_syntax aaa noprefix", "nop");
+   |               ^
+   |
+note: instantiated into assembly here
+  --> <inline asm>:1:2
+   |
+LL |     .intel_syntax aaa noprefix
+   |     ^
+
+error: unknown directive
+  --> $DIR/inline-syntax.rs:46:15
+   |
+LL |         asm!(".att_syntax noprefix", "nop");
+   |               ^
+   |
+note: instantiated into assembly here
+  --> <inline asm>:1:2
+   |
+LL |     .att_syntax noprefix
+   |     ^
+
+error: unknown directive
+  --> $DIR/inline-syntax.rs:50:15
+   |
+LL |         asm!(".att_syntax bbb noprefix", "nop");
+   |               ^
+   |
+note: instantiated into assembly here
+  --> <inline asm>:1:2
+   |
+LL |     .att_syntax bbb noprefix
+   |     ^
+
+error: unknown directive
+  --> $DIR/inline-syntax.rs:54:15
+   |
+LL |         asm!(".intel_syntax noprefix; nop");
+   |               ^
+   |
+note: instantiated into assembly here
+  --> <inline asm>:1:2
+   |
+LL |     .intel_syntax noprefix; nop
+   |     ^
+
+error: unknown directive
+  --> $DIR/inline-syntax.rs:61:13
+   |
+LL |             .intel_syntax noprefix
+   |             ^
+   |
+note: instantiated into assembly here
+  --> <inline asm>:2:13
+   |
+LL |             .intel_syntax noprefix
+   |             ^
+
+error: aborting due to 8 previous errors
+