about summary refs log tree commit diff
path: root/tests/codegen/repr/transparent-imm-array.rs
AgeCommit message (Collapse)AuthorLines
2025-07-22Rename `tests/codegen` into `tests/codegen-llvm`Guillaume Gomez-116/+0
2025-02-24tests: use minicore moreDavid Wood-8/+3
minicore makes it much easier to add new language items to all of the existing `no_core` tests.
2025-02-11tests/codegen: use -Copt-level=3 instead of -OJubilee Young-1/+1
2024-09-17tests: add repr/transparent test for aarch64David Wood-1/+2
Moves `transparent-struct-ptr.rs` to `transparent-byval-struct-ptr.rs` and then adds a new `transparent-opaque-ptr.rs` for aarch64.
2024-05-31Run rustfmt on `tests/codegen/`.Nicholas Nethercote-13/+30
Except for `simd-intrinsic/`, which has a lot of files containing multiple types like `u8x64` which really are better when hand-formatted. There is a surprising amount of two-space indenting in this directory. Non-trivial changes: - `rustfmt::skip` needed in `debug-column.rs` to preserve meaning of the test. - `rustfmt::skip` used in a few places where hand-formatting read more nicely: `enum/enum-match.rs` - Line number adjustments needed for the expected output of `debug-column.rs` and `coroutine-debug.rs`.
2024-03-10add -O to some tests which depend on attributes being addedErik Desjardins-1/+1
2024-03-09convert codegen/repr/transparent-* tests to no_core, fix discrepanciesErik Desjardins-19/+36
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-7/+7
2023-07-29Replace ignore-everything with only-archJubilee Young-13/+9
Combining revisions with only-arch allows specifying that a test only applies to a handful of targets. This allows removing a large amount of repetition in the test suite for tests that do not benefit. The revisions are suboptimal for this for some tests, so they aren't preferred in those cases.
2023-07-29mv tests/codegen/repr-* tests/codegen/reprJubilee Young-0/+90
Slightly more complicated: also give them appropriate names that somewhat describe the cases they are trying to cover, using information from PR chatter in rust-lang/rust#47158