blob: 931cc0d47844c84c980505b343afbeccf98874cd [file] [log] [blame]
/* { dg-do preprocess } */
/* Test for proper handling of unary minus in #if. */
#if !(-1)
#error Error /* { dg-bogus "Error" "case !(-1)" } */
#endif
#if !-1
#error Error /* { dg-bogus "Error" "case !-1" } */
#endif
#if -1
#else
#error Error /* { dg-bogus "Error" "case -1" } */
#endif