summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/trad/assert3.c
blob: 9010ecebd4ed838ae6c7699ae76b3c4cebb1adc6 (plain)
1
2
3
4
5
6
7
8
9
10
/* Copyright (C) 2000, 2008 Free Software Foundation, Inc.  */

/* { dg-do preprocess } */
/* { dg-options "-A abc=def -A abc\(ghi\) \"-Aabc = jkl\" -A abc=mno -A -abc=mno -Wno-deprecated" } */

/* Test -A command line syntax.  Source Neil Booth.  31 Oct 2000.  */

#if !#abc (def) || !#abc (ghi) || !#abc (jkl) || #abc(mno)
#error Command line -A assertions
#endif