1 /* PR c/2161: parser stack overflow.  */
2 /* { dg-do compile } */
3 /* { dg-timeout-factor 4.0 } */
4 
5 #define ONE	else if (0) { }
6 #define TEN	ONE ONE ONE ONE ONE ONE ONE ONE ONE ONE
7 #define HUN	TEN TEN TEN TEN TEN TEN TEN TEN TEN TEN
8 #define THOU	HUN HUN HUN HUN HUN HUN HUN HUN HUN HUN
9 
foo()10 void foo()
11 {
12   if (0) { }
13   /* 11,000 else if's.  */
14   THOU THOU THOU THOU THOU THOU THOU THOU THOU THOU THOU
15 }
16