Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / 20020425-1.c
blobac26e60069a66103526da5fe8abded91a7386ed8
1 /* PR c/2161: parser stack overflow. */
2 /* { dg-do compile } */
4 #define ONE else if (0) { }
5 #define TEN ONE ONE ONE ONE ONE ONE ONE ONE ONE ONE
6 #define HUN TEN TEN TEN TEN TEN TEN TEN TEN TEN TEN
7 #define THOU HUN HUN HUN HUN HUN HUN HUN HUN HUN HUN
9 void foo()
11 if (0) { }
12 /* 11,000 else if's. */
13 THOU THOU THOU THOU THOU THOU THOU THOU THOU THOU THOU