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

// Test with an opaque type

struct C;

C &foo();

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