diff options
Diffstat (limited to 'src/test/ui/macros/global-asm.stderr')
-rw-r--r-- | src/test/ui/macros/global-asm.stderr | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/ui/macros/global-asm.stderr b/src/test/ui/macros/global-asm.stderr new file mode 100644 index 000000000..3c26ec65a --- /dev/null +++ b/src/test/ui/macros/global-asm.stderr @@ -0,0 +1,20 @@ +error: requires at least a template string argument + --> $DIR/global-asm.rs:4:5 + | +LL | global_asm!(); + | ^^^^^^^^^^^^^ + +error: expected expression, found keyword `struct` + --> $DIR/global-asm.rs:5:17 + | +LL | global_asm!(struct); + | ^^^^^^ expected expression + +error: asm template must be a string literal + --> $DIR/global-asm.rs:6:17 + | +LL | global_asm!(123); + | ^^^ + +error: aborting due to 3 previous errors + |