1 /* Copyright (C) 2000 Free Software Foundation, Inc.  */
2 
3 /* { dg-do preprocess } */
4 
5 /* These now use "!=" rather than "<" to increase chance of failure.  */
6 #if 16 * (1) + 4 != 20
7 #error		/* { dg-bogus "error" "with paren" } */
8 #endif
9 
10 #if 16 * 1 + 4 != 20
11 #error		/* { dg-bogus "error" "without paren" } */
12 #endif
13 
14 #if ()	        /* { dg-error "expression between" "empty paren" } */
15 #endif
16 
17 #if (1) == 1
18 #error		/* { dg-error "" "simple parens no. 1" } */
19 #endif
20 
21 #if (2)
22 #error		/* { dg-error "" "simple parens no. 2" } */
23 #endif
24 
25 #if 3 == (3)
26 #error		/* { dg-error "" "simple parens no. 3" } */
27 #endif
28 
29 #if (((-1) + 8)) == ((+2) * ((3)) - -1)
30 #error		/* { dg-error "" "nested parentheses" } */
31 #endif
32