summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/opt/pr46649.C
blob: 1428e8bddbec5ec440245d1092dbd681f0ee3651 (plain)
1
2
3
4
5
6
7
8
9
// { dg-do compile { target powerpc*-*-* ia64-*-* x86_64-*-* } }
// { dg-options "-fschedule-insns -fselective-scheduling" }

void foo ()
{
  for (;;)
    for (;;({break;}))
    ;
}