OSDN Git Service

gcc.dg/attr-invalid.c: Insert an " |directive" substitution into
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Aug 2006 18:30:57 +0000 (18:30 +0000)
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Aug 2006 18:30:57 +0000 (18:30 +0000)
dg-warning strings for dllimport.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116355 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/attr-invalid.c

index 0e58baa..7c1cb94 100644 (file)
@@ -1,3 +1,8 @@
+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
index 7d1c151..6568c1a 100644 (file)
@@ -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" "" } */