about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/consts/const-fn-feature-flags.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/test/ui/consts/const-fn-feature-flags.rs b/src/test/ui/consts/const-fn-feature-flags.rs
deleted file mode 100644
index 30e7e102b86..00000000000
--- a/src/test/ui/consts/const-fn-feature-flags.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-// run-pass
-// Test use of stabilized const fns in std formerly using individual feature gates.
-
-use std::cell::Cell;
-
-const CELL: Cell<i32> = Cell::new(42);
-
-fn main() {
-    let v = CELL.get();
-    CELL.set(v+1);
-
-    assert_eq!(CELL.get(), v);
-}