1 /* Copyright (C) 2000 Free Software Foundation, Inc. */
3 /* Test various combinations of missing parentheses give the correct
4 missing parenthesis message. */
6 /* { dg-do preprocess } */
7 #if (1 /* { dg-error "5:missing '\\)'" "missing ')' no. 1" } */
10 #if 2 * (3 + 4 /* { dg-error "9:missing '\\)'" "missing ')' no. 2" } */
13 #if (2)) /* { dg-error "8:missing '\\('" "missing '(' no. 1" } */
16 #if ) /* { dg-error "5:missing '\\('" "missing '(' no. 2" } */
19 #if 4) /* { dg-error "6:missing '\\('" "missing '(' no. 3" } */
22 #if ( /* { dg-error "5:missing '\\)'" "missing ')' no. 3" } */
25 #if ((2 + 3) + 5 /* { dg-error "5:missing '\\)'" "missing ')' no. 3" } */
28 #if ((2 + 3 + 5 /* { dg-error "6:missing '\\)'" "missing ')' no. 3" } */