summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/gcc.dg/Wattributes-2.c
blob: 6918704202d6fb7e7bf744b246ae9a51c21f8b8f (plain)
1
2
3
4
5
6
/* { dg-do compile } */
/* { dg-options -Wno-attributes } */

void __attribute__((dj)) foo() { }	/* { dg-bogus "attribute directive ignored" } */

int j __attribute__((unrecognized));	/* { dg-bogus "attribute directive ignored" } */
OpenPOWER on IntegriCloud