diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.mike/p7865.C')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.mike/p7865.C | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p7865.C b/gcc/testsuite/g++.old-deja/g++.mike/p7865.C deleted file mode 100644 index 2cac1d57a8c..00000000000 --- a/gcc/testsuite/g++.old-deja/g++.mike/p7865.C +++ /dev/null @@ -1,28 +0,0 @@ -// prms-id: 7865 - -int count; - -struct A { - A() { ++count; } - ~A() { --count; } -}; - -int foo() { return 1; } - -int bar() -{ - A a; - for (;;) { - A b; - if (foo()) - return 0; - if (foo()) - return 0; - } - return 0; -} - -int main() { - bar(); - return count; -} |