summaryrefslogtreecommitdiffstats
path: root/tests/ui/asm/issue-87802.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/asm/issue-87802.stderr')
-rw-r--r--tests/ui/asm/issue-87802.stderr10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/asm/issue-87802.stderr b/tests/ui/asm/issue-87802.stderr
new file mode 100644
index 000000000..de3e28fdd
--- /dev/null
+++ b/tests/ui/asm/issue-87802.stderr
@@ -0,0 +1,10 @@
+error: cannot use value of type `!` for inline assembly
+ --> $DIR/issue-87802.rs:12:36
+ |
+LL | asm!("/* {0} */", out(reg) x);
+ | ^
+ |
+ = note: only integers, floats, SIMD vectors, pointers and function pointers can be used as arguments for inline assembly
+
+error: aborting due to previous error
+