1 /* Copyright (C) 2000 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
5 /* Test the various unary operators. */
7 #if 1 + + + 1 /* allow multiple unary sign operators :) */
11 #error /* { dg-bogus "error" "unary +" } */
15 #error /* { dg-bogus "error" "unary -" } */
19 #error /* { dg-bogus "error" "unary ~" } */
22 #if !0 && (!1 == 0) && !!1 != 1
23 #error /* { dg-bogus "error" "unary !" } */
27 #error /* { dg-bogus "error" "double unary ~" } */
31 #error /* { dg-bogus "error" "compound unary +, !, -" } */