diff options
| author | Daiki Ihara <sasurau4@gmail.com> | 2020-11-26 21:13:02 +0900 |
|---|---|---|
| committer | Daiki Ihara <sasurau4@gmail.com> | 2020-11-26 21:13:02 +0900 |
| commit | 5e1cbfa53ebed513b6d062f0f27187ebd3ed320c (patch) | |
| tree | cddba0cb8bd3207bb0fcf03619ce0bd156d68709 | |
| parent | 0d9651648d3b741e81ba7042e49a07b78a441517 (diff) | |
| download | rust-5e1cbfa53ebed513b6d062f0f27187ebd3ed320c.tar.gz rust-5e1cbfa53ebed513b6d062f0f27187ebd3ed320c.zip | |
remove const-fn-feature-flags test
| -rw-r--r-- | src/test/ui/consts/const-fn-feature-flags.rs | 13 |
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); -} |
