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

struct C {};

C &foo();

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