1 error: macro requires a string literal as an argument
2 --> $DIR/llvm-asm-parse-errors.rs:4:5
5 | ^^^^^^^^^^^^ string literal required
7 error: expected string literal
8 --> $DIR/llvm-asm-parse-errors.rs:5:23
10 LL | llvm_asm!("nop" : struct);
11 | ^^^^^^ not a string literal
13 error: expected string literal
14 --> $DIR/llvm-asm-parse-errors.rs:6:35
16 LL | llvm_asm!("mov %eax, $$0x2" : struct);
17 | ^^^^^^ not a string literal
19 error: expected `(`, found keyword `struct`
20 --> $DIR/llvm-asm-parse-errors.rs:7:44
22 LL | llvm_asm!("mov %eax, $$0x2" : "={eax}" struct);
25 error: expected expression, found keyword `struct`
26 --> $DIR/llvm-asm-parse-errors.rs:8:44
28 LL | llvm_asm!("mov %eax, $$0x2" : "={eax}"(struct));
29 | ^^^^^^ expected expression
31 error: expected string literal
32 --> $DIR/llvm-asm-parse-errors.rs:9:49
34 LL | llvm_asm!("in %dx, %al" : "={al}"(result) : struct);
35 | ^^^^^^ not a string literal
37 error: expected `(`, found keyword `struct`
38 --> $DIR/llvm-asm-parse-errors.rs:10:56
40 LL | llvm_asm!("in %dx, %al" : "={al}"(result) : "{dx}" struct);
43 error: expected expression, found keyword `struct`
44 --> $DIR/llvm-asm-parse-errors.rs:11:56
46 LL | llvm_asm!("in %dx, %al" : "={al}"(result) : "{dx}"(struct));
47 | ^^^^^^ expected expression
49 error: expected string literal
50 --> $DIR/llvm-asm-parse-errors.rs:12:41
52 LL | llvm_asm!("mov $$0x200, %eax" : : : struct);
53 | ^^^^^^ not a string literal
55 error: expected string literal
56 --> $DIR/llvm-asm-parse-errors.rs:13:50
58 LL | llvm_asm!("mov eax, 2" : "={eax}"(foo) : : : struct);
59 | ^^^^^^ not a string literal
61 error: inline assembly must be a string literal
62 --> $DIR/llvm-asm-parse-errors.rs:14:15
67 error: aborting due to 11 previous errors