OSDN Git Service

* gcc.target/powerpc/pr18096-1.c: Change dg-warning to dg-error.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / cpp / mac-dir-2.c
1 /* Copyright (C) 2002 Free Software Foundation, Inc.  */
2
3 /* { dg-do preprocess } */
4
5 /* Source: Neil Booth, 26 Feb 2002.
6
7    Test that we allow directives in macro arguments.  */
8
9 /* { dg-do preprocess } */
10
11 #define f(x) x
12
13 f (
14 #if 1           /* { dg-error "not portable" } */
15 1)
16 #endif