Message ID | m362l2r9nk.fsf@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/gcc/testsuite/gcc.dg/attr-invalid.c b/gcc/testsuite/gcc.dg/attr-invalid.c index 6568c1a..f2a5887 100644 --- a/gcc/testsuite/gcc.dg/attr-invalid.c +++ b/gcc/testsuite/gcc.dg/attr-invalid.c @@ -35,9 +35,11 @@ int ATSYM(fn_vars) (void) { #undef AT #define AT used -typedef int ATSYM(type) ATTR; /* { dg-warning "attribute ignored" "" } */ +typedef int ATSYM(type) ATTR; /* used attribute is no longer + ignored. */ -typedef int (*ATSYM(fntype))(void) ATTR; /* { dg-warning "attribute ignored" "" } */ +typedef int (*ATSYM(fntype))(void) ATTR; /* used attribute is no + longer ignored. */ struct ATSYM(struct) { char dummy ATTR; /* { dg-warning "attribute ignored" "" } */