diff options
Diffstat (limited to 'src/test/ui/asm/asm-parse-errors.stderr')
| -rw-r--r-- | src/test/ui/asm/asm-parse-errors.stderr | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/src/test/ui/asm/asm-parse-errors.stderr b/src/test/ui/asm/asm-parse-errors.stderr deleted file mode 100644 index 2b29332fef5..00000000000 --- a/src/test/ui/asm/asm-parse-errors.stderr +++ /dev/null @@ -1,68 +0,0 @@ -error: macro requires a string literal as an argument - --> $DIR/asm-parse-errors.rs:4:5 - | -LL | asm!(); - | ^^^^^^^ string literal required - -error: expected string literal - --> $DIR/asm-parse-errors.rs:5:18 - | -LL | asm!("nop" : struct); - | ^^^^^^ not a string literal - -error: expected string literal - --> $DIR/asm-parse-errors.rs:6:30 - | -LL | asm!("mov %eax, $$0x2" : struct); - | ^^^^^^ not a string literal - -error: expected `(`, found keyword `struct` - --> $DIR/asm-parse-errors.rs:7:39 - | -LL | asm!("mov %eax, $$0x2" : "={eax}" struct); - | ^^^^^^ expected `(` - -error: expected expression, found keyword `struct` - --> $DIR/asm-parse-errors.rs:8:39 - | -LL | asm!("mov %eax, $$0x2" : "={eax}"(struct)); - | ^^^^^^ expected expression - -error: expected string literal - --> $DIR/asm-parse-errors.rs:9:44 - | -LL | asm!("in %dx, %al" : "={al}"(result) : struct); - | ^^^^^^ not a string literal - -error: expected `(`, found keyword `struct` - --> $DIR/asm-parse-errors.rs:10:51 - | -LL | asm!("in %dx, %al" : "={al}"(result) : "{dx}" struct); - | ^^^^^^ expected `(` - -error: expected expression, found keyword `struct` - --> $DIR/asm-parse-errors.rs:11:51 - | -LL | asm!("in %dx, %al" : "={al}"(result) : "{dx}"(struct)); - | ^^^^^^ expected expression - -error: expected string literal - --> $DIR/asm-parse-errors.rs:12:36 - | -LL | asm!("mov $$0x200, %eax" : : : struct); - | ^^^^^^ not a string literal - -error: expected string literal - --> $DIR/asm-parse-errors.rs:13:45 - | -LL | asm!("mov eax, 2" : "={eax}"(foo) : : : struct); - | ^^^^^^ not a string literal - -error: inline assembly must be a string literal - --> $DIR/asm-parse-errors.rs:14:10 - | -LL | asm!(123); - | ^^^ - -error: aborting due to 11 previous errors - |
