summaryrefslogtreecommitdiffstats
path: root/src/test/ui/asm/x86_64/bad-clobber-abi.stderr
blob: 46e91a3951fb5bd23a9e7adbcc3b57b4b1315aa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
error: invalid ABI for `clobber_abi`
  --> $DIR/bad-clobber-abi.rs:11:18
   |
LL |         asm!("", clobber_abi("foo"));
   |                  ^^^^^^^^^^^^^^^^^^
   |
   = note: the following ABIs are supported on this target: `C`, `system`, `efiapi`, `win64`, `sysv64`

error: invalid ABI for `clobber_abi`
  --> $DIR/bad-clobber-abi.rs:13:35
   |
LL |         asm!("", clobber_abi("C", "foo"));
   |                                   ^^^^^
   |
   = note: the following ABIs are supported on this target: `C`, `system`, `efiapi`, `win64`, `sysv64`

error: `C` ABI specified multiple times
  --> $DIR/bad-clobber-abi.rs:15:35
   |
LL |         asm!("", clobber_abi("C", "C"));
   |                              ---  ^^^
   |                              |
   |                              previously specified here

error: `win64` ABI specified multiple times
  --> $DIR/bad-clobber-abi.rs:18:39
   |
LL |         asm!("", clobber_abi("win64", "efiapi"));
   |                              -------  ^^^^^^^^
   |                              |
   |                              previously specified here
   |
   = note: these ABIs are equivalent on the current target

error: invalid ABI for `clobber_abi`
  --> $DIR/bad-clobber-abi.rs:20:35
   |
LL |         asm!("", clobber_abi("C", "foo", "C"));
   |                                   ^^^^^
   |
   = note: the following ABIs are supported on this target: `C`, `system`, `efiapi`, `win64`, `sysv64`

error: `C` ABI specified multiple times
  --> $DIR/bad-clobber-abi.rs:20:42
   |
LL |         asm!("", clobber_abi("C", "foo", "C"));
   |                              ---         ^^^
   |                              |
   |                              previously specified here

error: invalid ABI for `clobber_abi`
  --> $DIR/bad-clobber-abi.rs:23:39
   |
LL |         asm!("", clobber_abi("win64", "foo", "efiapi"));
   |                                       ^^^^^
   |
   = note: the following ABIs are supported on this target: `C`, `system`, `efiapi`, `win64`, `sysv64`

error: `win64` ABI specified multiple times
  --> $DIR/bad-clobber-abi.rs:23:46
   |
LL |         asm!("", clobber_abi("win64", "foo", "efiapi"));
   |                              -------         ^^^^^^^^
   |                              |
   |                              previously specified here
   |
   = note: these ABIs are equivalent on the current target

error: `C` ABI specified multiple times
  --> $DIR/bad-clobber-abi.rs:26:36
   |
LL |         asm!("", clobber_abi("C"), clobber_abi("C"));
   |                  ----------------  ^^^^^^^^^^^^^^^^
   |                  |
   |                  previously specified here

error: `win64` ABI specified multiple times
  --> $DIR/bad-clobber-abi.rs:29:40
   |
LL |         asm!("", clobber_abi("win64"), clobber_abi("efiapi"));
   |                  --------------------  ^^^^^^^^^^^^^^^^^^^^^
   |                  |
   |                  previously specified here
   |
   = note: these ABIs are equivalent on the current target

error: aborting due to 10 previous errors