annotate gcc/testsuite/gcc.dg/cpp/20000207-2.c @ 132:d34655255c78

update gcc-8.2
author mir3636
date Thu, 25 Oct 2018 10:21:07 +0900 (2018-10-25)
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-do preprocess } */
kono
parents:
diff changeset
2
kono
parents:
diff changeset
3 /* Test for proper handling of unary plus in #if. */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 #if !(+1)
kono
parents:
diff changeset
6 #error Error /* { dg-bogus "Error" "case !(+1)" } */
kono
parents:
diff changeset
7 #endif
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 #if !+1
kono
parents:
diff changeset
10 #error Error /* { dg-bogus "Error" "case !+1" } */
kono
parents:
diff changeset
11 #endif
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 #if +1
kono
parents:
diff changeset
14 #else
kono
parents:
diff changeset
15 #error Error /* { dg-bogus "Error" "case +1" } */
kono
parents:
diff changeset
16 #endif