diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-04-30 22:36:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-30 22:36:40 +0200 |
| commit | 6769d323167954d2277fe20b9efc4d0e0912f165 (patch) | |
| tree | 3872ae184d9bd48c1f9fcb1aee785cbbf938e38f /tests/ui/codegen | |
| parent | 3648f3aa77e043db2c1f5f7961906a1539771e43 (diff) | |
| parent | a917de445bfb26e1e9f2b9b9f99c04426606d017 (diff) | |
| download | rust-6769d323167954d2277fe20b9efc4d0e0912f165.tar.gz rust-6769d323167954d2277fe20b9efc4d0e0912f165.zip | |
Rollup merge of #140465 - mejrs:test2, r=jieyouxu
chore: edit and move tests I deleted `ui/non-copyable-void.rs`: added in https://github.com/rust-lang/rust/commit/ab4105d9e8b7c0719343aa2e4edd15cae0b7c947 to test that "nonconstructable" enums are "noncopyable", but these properties are not correlated anymore. Second commit is kinda messy because I moved/edited/renamed some files at the same time, but I deleted nothing there.
Diffstat (limited to 'tests/ui/codegen')
| -rw-r--r-- | tests/ui/codegen/cfguard-run.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/codegen/cfguard-run.rs b/tests/ui/codegen/cfguard-run.rs new file mode 100644 index 00000000000..52ad3e3cc04 --- /dev/null +++ b/tests/ui/codegen/cfguard-run.rs @@ -0,0 +1,6 @@ +//@ run-pass +//@ compile-flags: -C control-flow-guard + +pub fn main() { + println!("hello, world"); +} |
