diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.jason/binding2.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.jason/binding2.C | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.jason/binding2.C b/gcc/testsuite/g++.old-deja/g++.jason/binding2.C deleted file mode 100644 index e56a0544b47..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.jason/binding2.C +++ /dev/null @@ -1,15 +0,0 @@ -// Bug: g++ screws up binding levels in a switch statement with cleanups. -// Build don't link: - -struct A { - ~A() { } -}; - -int f (int i) -{ - switch (i) { - default: - A a; - } - return 1; -} // causes compiler segfault |