testcase for recent unroll.c fix

From-SVN: r31335
This commit is contained in:
Mike Stump 2000-01-11 20:10:46 +00:00
parent 3951ad49fc
commit 7cdc045ed6
1 changed files with 17 additions and 0 deletions

View File

@ -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() { }