From 5e1cbfa53ebed513b6d062f0f27187ebd3ed320c Mon Sep 17 00:00:00 2001 From: Daiki Ihara Date: Thu, 26 Nov 2020 21:13:02 +0900 Subject: [PATCH] remove const-fn-feature-flags test --- src/test/ui/consts/const-fn-feature-flags.rs | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/test/ui/consts/const-fn-feature-flags.rs 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 = Cell::new(42); - -fn main() { - let v = CELL.get(); - CELL.set(v+1); - - assert_eq!(CELL.get(), v); -}