1 /* Copyright (C) 2000 Free Software Foundation, Inc. */
3 /* { dg-do preprocess } */
5 /* Test that all operators correctly short circuit. */
8 #error /* { dg-bogus "error" "|| short circuit" } */
12 #error /* { dg-bogus "error" "&& short circuit" } */
16 #error /* { dg-bogus "error" "? : right short circuit" } */
21 #error /* { dg-bogus "error" "? : left short circuit" } */
24 #if -1 ? 0 && 3 / 0 : 3 / 0 + 5 == 5
25 #error /* { dg-bogus "error" "nested short circuiting" } */