diff --git a/gcc/testsuite/g++.old-deja/g++.mike/eh59.C b/gcc/testsuite/g++.old-deja/g++.mike/eh59.C new file mode 100644 index 00000000000..75bbcfb6043 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.mike/eh59.C @@ -0,0 +1,17 @@ +// Special g++ Options: -O -funroll-loops + +struct A { + ~A(); +}; + +void foo(); + +int main() { + for (int i=0;i<4;i++) { + A a; + foo(); + } +} + +void foo() { } +A::~A() { }