summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/dir-only-2.c
blob: 489b4d6ee3455554ed3a365dfd034d63e0900f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* Copyright 2007 Free Software Foundation, Inc.
   Contributed by Ollie Wild <aaw@google.com>.  */

/* { dg-do preprocess } */
/* { dg-options "-fpreprocessed -fdirectives-only -DNOT_SET" } */

/* Tests -fdirectives-only + -fpreprocessed. */

/* Check this is not defined. */
#ifdef NOT_SET
#error Command line macro not disabled.
#endif