Matthias Krüger fd2785f67a
Rollup merge of #130895 - RalfJung:asm-tests, r=nnethercote
make type-check-4 asm tests about non-const expressions

These tests recently got changed in https://github.com/rust-lang/rust/pull/129759. I asked the PR author to make the tests read from a `static mut` (rather than just making them "pass"), but I now think that was a mistake: previously the tests failed because the const was not a valid const expression, after the PR they failed because the const failed to evaluate.

So this PR restores the tests to "fail because the const is not a valid const expression". That can be done in a target-independent way so I unified the x86 and aarch64 tests into one.

Cc `@oli-obk` as the original [author](0d88631059) of these tests -- not sure if you still remember what they were intended to test.
2024-09-30 14:33:46 +02:00
..
2024-03-03 09:24:38 -05:00
2024-08-13 23:18:31 +02:00
2024-03-03 09:24:38 -05:00
2024-09-29 08:49:37 +02:00
2024-08-13 23:18:31 +02:00
2024-08-13 23:18:31 +02:00
2023-01-11 09:32:08 +00:00
2024-08-13 23:18:31 +02:00
2024-08-13 23:18:31 +02:00
2024-08-13 23:18:31 +02:00
2024-08-13 23:18:31 +02:00
2024-08-13 23:18:31 +02:00
2024-08-13 23:18:31 +02:00
2024-08-13 23:18:31 +02:00