summaryrefslogtreecommitdiffstats
path: root/tests/ui/asm/bad-arch.thirunsafeck.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/asm/bad-arch.thirunsafeck.stderr')
-rw-r--r--tests/ui/asm/bad-arch.thirunsafeck.stderr17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/ui/asm/bad-arch.thirunsafeck.stderr b/tests/ui/asm/bad-arch.thirunsafeck.stderr
new file mode 100644
index 000000000..d7af29615
--- /dev/null
+++ b/tests/ui/asm/bad-arch.thirunsafeck.stderr
@@ -0,0 +1,17 @@
+error[E0472]: inline assembly is unsupported on this target
+ --> $DIR/bad-arch.rs:22:9
+ |
+LL | asm!("");
+ | ^^^^^^^^
+
+error[E0472]: inline assembly is unsupported on this target
+ --> $DIR/bad-arch.rs:27:1
+ |
+LL | global_asm!("");
+ | ^^^^^^^^^^^^^^^
+ |
+ = note: this error originates in the macro `global_asm` (in Nightly builds, run with -Z macro-backtrace for more info)
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0472`.