rust/src/test/ui/asm
Eric Huss c5f8675291
Rollup merge of #89311 - FabianWolff:issue-89305, r=oli-obk
Add unit assignment to MIR for `asm!()`

Fixes #89305. `ExprKind::LlvmInlineAsm` gets a `push_assign_unit()` here:
2b6ed3b675/compiler/rustc_mir_build/src/build/expr/into.rs (L475-L479)

The same should probably happen for `ExprKind::InlineAsm`, which fixes the "use of possibly-uninitialized variable" error described in #89305.
2021-09-29 19:33:39 -07:00
..
aarch64 Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
x86_64 Add inline asm! tests for aarch64 2021-09-24 16:23:37 +00:00
bad-arch.mirunsafeck.stderr Add tests where asm! is properly in unsafe block 2021-05-14 09:22:30 -04:00
bad-arch.rs Add tests where asm! is properly in unsafe block 2021-05-14 09:22:30 -04:00
bad-arch.thirunsafeck.stderr Add tests where asm! is properly in unsafe block 2021-05-14 09:22:30 -04:00
bad-template.aarch64_mirunsafeck.stderr Add inline asm! tests for aarch64 2021-09-24 16:23:37 +00:00
bad-template.aarch64_thirunsafeck.stderr Add inline asm! tests for aarch64 2021-09-24 16:23:37 +00:00
bad-template.rs Add inline asm! tests for aarch64 2021-09-24 16:23:37 +00:00
bad-template.x86_64_mirunsafeck.stderr Add inline asm! tests for aarch64 2021-09-24 16:23:37 +00:00
bad-template.x86_64_thirunsafeck.stderr Add inline asm! tests for aarch64 2021-09-24 16:23:37 +00:00
inline-syntax.arm.stderr compiletest: ignore tests on a per-revision basis 2021-06-24 23:13:08 +03:00
inline-syntax.rs Re-Annotate the tests with needs-llvm-components 2021-06-24 23:13:08 +03:00
inline-syntax.x86_64.stderr compiletest: ignore tests on a per-revision basis 2021-06-24 23:13:08 +03:00
issue-72570.rs Add inline asm! tests for aarch64 2021-09-24 16:23:37 +00:00
issue-72570.stderr add test for #72960 2020-06-05 12:08:54 +02:00
issue-87802.rs Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
issue-87802.stderr Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
issue-89305.rs Add unit assignment to MIR for asm!() 2021-09-28 01:38:54 +02:00
issue-89305.stderr Add unit assignment to MIR for asm!() 2021-09-28 01:38:54 +02:00
naked-functions-ffi.rs Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
naked-functions-ffi.stderr Validate FFI-safety warnings on naked functions 2021-08-03 17:50:50 -04:00
naked-functions-unused.aarch64.stderr Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
naked-functions-unused.rs Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
naked-functions-unused.x86_64.stderr Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
naked-functions.rs Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
naked-functions.stderr Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
naked-invalid-attr.rs Check for asm support in UI tests that require it 2021-04-13 00:00:00 +00:00
naked-invalid-attr.stderr Bless test. 2020-11-26 21:32:28 +01:00
named-asm-labels.rs Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
named-asm-labels.s Fix lint capitalization and ignoring, test with include_str 2021-08-04 13:38:17 -04:00
named-asm-labels.stderr Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
noreturn.rs Add inline asm! tests for aarch64 2021-09-24 16:23:37 +00:00
rustfix-asm.fixed Add inline asm! tests for aarch64 2021-09-24 16:23:37 +00:00
rustfix-asm.rs Add inline asm! tests for aarch64 2021-09-24 16:23:37 +00:00
rustfix-asm.stderr Fix ui tests for llvm_asm! deprecation 2021-08-15 13:27:13 +01:00
type-check-1.rs Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
type-check-1.stderr Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
type-check-4.rs Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00
type-check-4.stderr Disable some tests for platforms without registers. 2021-09-24 17:00:57 +00:00