summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/array_index_is_temporary.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/array_index_is_temporary.rs')
-rw-r--r--tests/mir-opt/array_index_is_temporary.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mir-opt/array_index_is_temporary.rs b/tests/mir-opt/array_index_is_temporary.rs
index e7bde81d4..702b9c70e 100644
--- a/tests/mir-opt/array_index_is_temporary.rs
+++ b/tests/mir-opt/array_index_is_temporary.rs
@@ -1,3 +1,4 @@
+// ignore-wasm32 compiled with panic=abort by default
// Retagging (from Stacked Borrows) relies on the array index being a fresh
// temporary, so that side-effects cannot change it.
// Test that this is indeed the case.