1 /* Basic tests of the #assert preprocessor extension. */
2 /* { dg-do compile } */
3 /* { dg-options "" } */
5 #define def unused expansion
11 #assert space ( s p a c e )
14 #if !#abc (def) || !#abc (ghi) || !#abc (jkl)
18 /* any answer for #abc */
23 /* internal whitespace is collapsed,
24 external whitespace is deleted */
25 #if !#space (s p a c e) || !#space ( s p a c e ) || #space (space)
29 /* removing assertions */
31 #if !#abc || !#abc (def) || !#abc (ghi) || #abc (jkl)
36 #if #abc || #abc (def) || #abc (ghi) || #abc (jkl)
42 /* make sure it can succeed too.
43 also check space before open paren isn't significant */