diff options
Diffstat (limited to 'src/test/ui/consts/unwind-abort.rs')
-rw-r--r-- | src/test/ui/consts/unwind-abort.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/test/ui/consts/unwind-abort.rs b/src/test/ui/consts/unwind-abort.rs deleted file mode 100644 index 6c94fc7b9..000000000 --- a/src/test/ui/consts/unwind-abort.rs +++ /dev/null @@ -1,16 +0,0 @@ -// check-pass - -#![feature(c_unwind, const_extern_fn)] - -// We don't unwind in const-eval anyways. -const extern "C" fn foo() { - panic!() -} - -const fn bar() { - foo(); -} - -fn main() { - bar(); -} |