aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/mac-dir-2.c
blob: b574cfd71cf758a76f0027f2e243f73a6ec327ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Copyright (C) 2002 Free Software Foundation, Inc.  */

/* { dg-do preprocess } */

/* Source: Neil Booth, 26 Feb 2002.

   Test that we allow directives in macro arguments.  */

/* { dg-do preprocess } */

#define f(x) x

f (
#if 1		/* { dg-warning "not portable" } */
1)
#endif