diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/Wattributes-3.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/Wattributes-3.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/Wattributes-3.c b/gcc/testsuite/gcc.dg/Wattributes-3.c new file mode 100644 index 000000000..59d14c7b9 --- /dev/null +++ b/gcc/testsuite/gcc.dg/Wattributes-3.c @@ -0,0 +1,5 @@ +/* { dg-do compile } */ + +void __attribute__((dj)) foo() { } /* { dg-warning "attribute directive ignored" } */ + +int j __attribute__((unrecognized)); /* { dg-warning "attribute directive ignored" } */ |