Mercurial > hg > CbC > CbC_gcc
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 |
rev | line source |
---|---|
111 | 1 /* { dg-do preprocess } */ |
2 | |
3 /* Test for proper handling of unary plus in #if. */ | |
4 | |
5 #if !(+1) | |
6 #error Error /* { dg-bogus "Error" "case !(+1)" } */ | |
7 #endif | |
8 | |
9 #if !+1 | |
10 #error Error /* { dg-bogus "Error" "case !+1" } */ | |
11 #endif | |
12 | |
13 #if +1 | |
14 #else | |
15 #error Error /* { dg-bogus "Error" "case +1" } */ | |
16 #endif |