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 } */
8 #if (1 /* { dg-error "missing '\\)'" "missing ')' no. 1" } */
11 #if 2 * (3 + 4 /* { dg-error "missing '\\)'" "missing ')' no. 2" } */
14 #if (2)) /* { dg-error "missing '\\('" "missing '(' no. 1" } */
17 #if ) /* { dg-error "missing '\\('" "missing '(' no. 2" } */
20 #if 4) /* { dg-error "missing '\\('" "missing '(' no. 3" } */
23 #if ( /* { dg-error "missing '\\)'" "missing ')' no. 3" } */