summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.mike/unroll1.C
blob: e3e7cd50e68028ff77808ca4993195d137a64b72 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do assemble  }
// { dg-options "-g -O -funroll-loops" }

struct A {
  inline ~A() { }
};

void foo (A) {
  while (1)
    A bar;
}