rust/tests/ui/asm
Amanieu d'Antras 52f7a218fb Relax ordering rules for asm! operands
The `asm!` and `global_asm!` macros require their operands to appear
strictly in the following order:
- Template strings
- Positional operands
- Named operands
- Explicit register operands
- `clobber_abi`
- `options`

This is overly strict and can be inconvienent when building complex
`asm!` statements with macros. This PR relaxes the ordering requirements
as follows:
- Template strings must still come before all other operands.
- Positional operands must still come before named and explicit register
operands.
- Named and explicit register operands can be freely mixed.
- `options` and `clobber_abi` can appear in any position.
2023-01-27 08:15:38 +00:00
..
aarch64 Relax ordering rules for asm! operands 2023-01-27 08:15:38 +00:00
x86_64 Relax ordering rules for asm! operands 2023-01-27 08:15:38 +00:00
bad-arch.mirunsafeck.stderr
bad-arch.rs
bad-arch.thirunsafeck.stderr
bad-template.aarch64_mirunsafeck.stderr Relax ordering rules for asm! operands 2023-01-27 08:15:38 +00:00
bad-template.aarch64_thirunsafeck.stderr Relax ordering rules for asm! operands 2023-01-27 08:15:38 +00:00
bad-template.rs
bad-template.x86_64_mirunsafeck.stderr Relax ordering rules for asm! operands 2023-01-27 08:15:38 +00:00
bad-template.x86_64_thirunsafeck.stderr Relax ordering rules for asm! operands 2023-01-27 08:15:38 +00:00
generic-const.rs
inline-syntax.arm.stderr
inline-syntax.rs
inline-syntax.x86_64.stderr
issue-72570.rs
issue-72570.stderr
issue-85247.rs
issue-85247.rwpi.stderr
issue-87802.rs
issue-87802.stderr
issue-89305.rs
issue-89305.stderr
issue-92378.rs
issue-97490.rs
issue-99071.rs
issue-99071.stderr
issue-99122-2.rs
issue-99122.rs
issue-99122.stderr
may_unwind.rs
naked-functions-ffi.rs
naked-functions-ffi.stderr
naked-functions-unused.aarch64.stderr
naked-functions-unused.rs
naked-functions-unused.x86_64.stderr
naked-functions.rs
naked-functions.stderr
naked-invalid-attr.rs
naked-invalid-attr.stderr
named-asm-labels.rs
named-asm-labels.s
named-asm-labels.stderr
noreturn.rs
reg-conflict.rs
reg-conflict.stderr
type-check-1.rs
type-check-1.stderr
type-check-4.rs
type-check-4.stderr
unpretty-expanded.rs
unpretty-expanded.stdout