summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr60518.C
blob: e3da48a2ec90917860fd44d5c418b9e167251457 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do compile }
// { dg-options "-Os -fprofile-use" }

int a;
int fn1 () { return a == ',' || a == ';'; }

void fn2 ()
{
    do
          while (fn1 ())
	          ;
      while (1);
}