summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/hash1.c
blob: a4c4b3516dfb05253903330841d6712616219a21 (plain)
1
2
3
4
5
6
7
8
9
/* Test for proper handling of # in object-like macros.
   From Linux kernel.  */
/* { dg-do preprocess } */

#define FIXUP	.section ".fixup",#alloc,#execinstr

FIXUP

/* { dg-bogus "not followed by" "object-like #" { target *-*-* } 3 } */