re PR target/28627 ([cygwin/mingw32] Missing dllimport diagnostic)
authorKai Tietz <kai.tietz@onevision.com>
Mon, 8 Nov 2010 10:49:38 +0000 (10:49 +0000)
committerKai Tietz <ktietz@gcc.gnu.org>
Mon, 8 Nov 2010 10:49:38 +0000 (11:49 +0100)
2010-11-08  Kai Tietz  <kai.tietz@onevision.com>

        PR target/28627
        * g++.dg/ext/dllimport7.C: Adjust second error check and
        allow test for x86_64 mingw, too.

From-SVN: r166431

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/dllimport7.C

index 395d9879029b63beef54377ddf0efd1e5b1d41d9..3cbb7a9c7c5616c4d6490f52b03661aa45512cd7 100644 (file)
@@ -1,3 +1,9 @@
+2010-11-08  Kai Tietz  <kai.tietz@onevision.com>
+
+        PR target/28627
+        * g++.dg/ext/dllimport7.C: Adjust second error check and
+        allow test for x86_64 mingw, too.
+
 2010-11-08  Janus Weil  <janus@gcc.gnu.org>
 
        PR fortran/46344
index 8bf384889b5186f5bb0cc40b1913bd30b4481afb..0a79b3da33c858869997203a2dae5f3655f3a412 100644 (file)
@@ -1,4 +1,4 @@
-// { dg-do compile { target i?86-*-cygwin* i?86-*-mingw*} }
+// { dg-do compile { target i?86-*-cygwin* i?86-*-mingw* x86_64-*-mingw* } }
 
 //  Report errors on definition of dllimport'd static data member . 
 
@@ -19,12 +19,9 @@ class  __declspec(dllimport) Bar
 };
 
 const int Bar::three = 3;       //  { dg-warning "redeclared without dllimport" }
-//  { dg-error "definition of static data" "C++ specific error" { target i?86-*-cygwin* i?86-*-mingw* } 21 }
+//  { dg-error "definition of static data" "C++ specific error" { target i?86-*-cygwin* i?86-*-mingw* x86_64-*-mingw* } 21 }
                                
 const Baz Bar::null_baz;       //  { dg-warning "redeclared without dllimport" }
-//  { dg-error "definition of static data" "C++ specific error" { target i?86-*-cygwin* i?86-*-mingw* }  24 }
-
-
 
 int foo()
 {