summaryrefslogtreecommitdiffstats
path: root/test/FrontendC++/2003-09-30-ForIncrementExprBug.cpp
blob: 40c9c87ae1e093be9de5c1e44a1caca82af84df3 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null

struct C {};

C &foo();

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

OpenPOWER on IntegriCloud