Commit b2742484 by Danny Smith Committed by Danny Smith

gcc.dg/attr-invalid.c: Insert an " |directive" substitution into

	dg-warning strings for dllimport.

From-SVN: r116355
parent 6c9384c3
2006-08-23 Danny Smith <dannysmith@users.sourceforge.net>
gcc.dg/attr-invalid.c: Insert an " |directive" substitution into
dg-warning strings for dllimport.
2006-08-22 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/28450
......@@ -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" "" } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment