about summary refs log tree commit diff
path: root/tests/ui/issues/issue-45697-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/issues/issue-45697-1.rs')
-rw-r--r--tests/ui/issues/issue-45697-1.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/issues/issue-45697-1.rs b/tests/ui/issues/issue-45697-1.rs
index b45f1170b86..53e55599689 100644
--- a/tests/ui/issues/issue-45697-1.rs
+++ b/tests/ui/issues/issue-45697-1.rs
@@ -1,7 +1,7 @@
 // Test that assignments to an `&mut` pointer which is found in a
 // borrowed (but otherwise non-aliasable) location is illegal.
 
-// compile-flags: -C overflow-checks=on
+//@ compile-flags: -C overflow-checks=on
 
 struct S<'a> {
     pointer: &'a mut isize