summaryrefslogtreecommitdiffstats
path: root/src/test/ui/panic-runtime/unwind-rec2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/panic-runtime/unwind-rec2.rs')
-rw-r--r--src/test/ui/panic-runtime/unwind-rec2.rs23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/test/ui/panic-runtime/unwind-rec2.rs b/src/test/ui/panic-runtime/unwind-rec2.rs
deleted file mode 100644
index a130f9e87..000000000
--- a/src/test/ui/panic-runtime/unwind-rec2.rs
+++ /dev/null
@@ -1,23 +0,0 @@
-// run-fail
-// error-pattern:explicit panic
-// ignore-emscripten no processes
-
-fn build1() -> Vec<isize> {
- vec![0, 0, 0, 0, 0, 0, 0]
-}
-
-fn build2() -> Vec<isize> {
- panic!();
-}
-
-struct Blk {
- node: Vec<isize>,
- span: Vec<isize>,
-}
-
-fn main() {
- let _blk = Blk {
- node: build1(),
- span: build2(),
- };
-}