about summary refs log tree commit diff
path: root/tests/mir-opt/sroa
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2023-10-16 17:36:39 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-10-19 15:51:52 +0000
commit4ff03cd1a49dbf08f24c7054d4fd478e87c3a4de (patch)
tree365c46e24ce6d59a9d242a2ef7660938ac4085c7 /tests/mir-opt/sroa
parentc104861b7b51d2c28e7023e7e53db16cc6677e29 (diff)
downloadrust-4ff03cd1a49dbf08f24c7054d4fd478e87c3a4de.tar.gz
rust-4ff03cd1a49dbf08f24c7054d4fd478e87c3a4de.zip
Allow to run filecheck in mir-opt tests.
Diffstat (limited to 'tests/mir-opt/sroa')
-rw-r--r--tests/mir-opt/sroa/lifetimes.rs1
-rw-r--r--tests/mir-opt/sroa/structs.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/mir-opt/sroa/lifetimes.rs b/tests/mir-opt/sroa/lifetimes.rs
index 2356d212f3f..cc5c0c9bbcd 100644
--- a/tests/mir-opt/sroa/lifetimes.rs
+++ b/tests/mir-opt/sroa/lifetimes.rs
@@ -1,3 +1,4 @@
+// skip-filecheck
 // unit-test: ScalarReplacementOfAggregates
 // compile-flags: -Cpanic=abort
 // no-prefer-dynamic
diff --git a/tests/mir-opt/sroa/structs.rs b/tests/mir-opt/sroa/structs.rs
index 7946eeaeae4..73563e12c94 100644
--- a/tests/mir-opt/sroa/structs.rs
+++ b/tests/mir-opt/sroa/structs.rs
@@ -1,3 +1,4 @@
+// skip-filecheck
 // unit-test: ScalarReplacementOfAggregates
 // compile-flags: -Cpanic=abort
 // no-prefer-dynamic