diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2006-08-23 18:30:57 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2006-08-23 18:30:57 +0000 |
commit | b2742484fc283c53ae31a2c227212f963a36124e (patch) | |
tree | 666bf9c7acbc718244eec07ee490f2bbfdd5318c /gcc/testsuite/gcc.dg/attr-invalid.c | |
parent | 6c9384c3c0abe611d7d70bd6e3dc2b011bb9e69a (diff) | |
download | gcc-b2742484fc283c53ae31a2c227212f963a36124e.zip gcc-b2742484fc283c53ae31a2c227212f963a36124e.tar.gz gcc-b2742484fc283c53ae31a2c227212f963a36124e.tar.bz2 |
gcc.dg/attr-invalid.c: Insert an " |directive" substitution into
dg-warning strings for dllimport.
From-SVN: r116355
Diffstat (limited to 'gcc/testsuite/gcc.dg/attr-invalid.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/attr-invalid.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/testsuite/gcc.dg/attr-invalid.c b/gcc/testsuite/gcc.dg/attr-invalid.c index 7d1c151..6568c1a 100644 --- a/gcc/testsuite/gcc.dg/attr-invalid.c +++ b/gcc/testsuite/gcc.dg/attr-invalid.c @@ -85,16 +85,16 @@ int ATSYM(fn_isoarg) (int arg ATTR) { return 0; } /* { dg-warning "attribute ign #undef AT #define AT dllimport -typedef int ATSYM(type) ATTR; /* { dg-warning "attribute ignored" "" } */ +typedef int ATSYM(type) ATTR; /* { dg-warning "attribute |directive ignored" "" } */ -typedef int (*ATSYM(fntype))(void) ATTR; /* { dg-warning "attribute ignored" "" } */ +typedef int (*ATSYM(fntype))(void) ATTR; /* { dg-warning "attribute |directive ignored" "" } */ struct ATSYM(struct) { - char dummy ATTR; /* { dg-warning "attribute ignored" "" } */ + char dummy ATTR; /* { dg-warning "attribute |directive ignored" "" } */ }; int ATSYM(fn_knrarg) (arg) - int arg ATTR; /* { dg-warning "attribute ignored" "" } */ + int arg ATTR; /* { dg-warning "attribute |directive ignored" "" } */ { return 0; } -int ATSYM(fn_isoarg) (int arg ATTR) { return 0; } /* { dg-warning "attribute ignored" "" } */ +int ATSYM(fn_isoarg) (int arg ATTR) { return 0; } /* { dg-warning "attribute |directive ignored" "" } */ |