gcc/testsuite/gcc.dg/cpp/assert3.c
raw| 1 | /* Copyright (C) 2000, 2008 Free Software Foundation, Inc. */ |
| 2 | |
| 3 | /* { dg-do preprocess } */ |
| 4 | /* { dg-options "-A abc=def -A abc\(ghi\) \"-Aabc = jkl\" -A abc=mno -A -abc=mno -Wno-deprecated" } */ |
| 5 | |
| 6 | /* Test -A command line syntax. Source Neil Booth. 31 Oct 2000. */ |
| 7 | |
| 8 | #if !#abc (def) || !#abc (ghi) || !#abc (jkl) || #abc(mno) |
| 9 | #error Command line -A assertions |
| 10 | #endif |