summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/Wattributes-1.c
blob: 29e07e412759f9af7b5eb49123fd1f73129485ac (plain)
1
2
3
4
5
6
/* { dg-do compile } */
/* { dg-options -Wattributes } */

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

int j __attribute__((unrecognized));	/* { dg-warning "attribute directive ignored" } */