summaryrefslogtreecommitdiff
path: root/samples/test/scoping_rules.rs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/test/scoping_rules.rs')
-rw-r--r--samples/test/scoping_rules.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/samples/test/scoping_rules.rs b/samples/test/scoping_rules.rs
index 9878fd16..573fff21 100644
--- a/samples/test/scoping_rules.rs
+++ b/samples/test/scoping_rules.rs
@@ -1,3 +1,4 @@
+// compile-flags: --test
struct DropFlag<'a>(&'a ::std::cell::Cell<i32>);
impl<'a> ::std::ops::Drop for DropFlag<'a>