dll-2.c: Revert revision 138893: Change "dg-message" back to "dg-warning".

* gcc.dg/dll-2.c: Revert revision 138893: Change "dg-message"
	back to "dg-warning".
	* gcc.dg/dll-3.c: Likewise.

From-SVN: r141209
This commit is contained in:
Danny Smith 2008-10-18 08:54:52 +00:00 committed by Danny Smith
parent 7d5691b40f
commit 8168c08f08
3 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2008-10-18 Danny Smith <dannysmith@users.sourceforge.net>
* gcc.dg/dll-2.c: Revert 2008-08-09 change (R138893): Change
"dg-message" back to "dg-warning".
* gcc.dg/dll-3.c: Likewise.
2008-10-16 Alexander Monakov <amonakov@ispras.ru>
PR target/37381

View File

@ -11,12 +11,12 @@
/* { dg-require-dll "" } */
__declspec (dllimport) int foo1 ();
__declspec (dllexport) int foo1 (); /* { dg-message "note: previous dllimport ignored" } */
__declspec (dllexport) int foo1 (); /* { dg-warning "previous dllimport ignored" } */
__declspec (dllexport) int foo2 ();
__declspec (dllimport) int foo2 (); /* { dg-warning "dllimport ignored" } */
__declspec (dllimport) int bar1;
__declspec (dllexport) int bar1; /* { dg-message "note: previous dllimport ignored" } */
__declspec (dllexport) int bar1; /* { dg-warning "previous dllimport ignored" } */
__declspec (dllexport) int bar2;
__declspec (dllimport) int bar2; /* { dg-warning "dllimport ignored" } */

View File

@ -5,7 +5,7 @@
/* { dg-do compile { target i?86-pc-mingw* } } */
__declspec (dllimport) int foo1 ();
__declspec (dllexport) int foo1 (); /* { dg-message "note: previous dllimport ignored" } */
__declspec (dllexport) int foo1 (); /* { dg-warning "previous dllimport ignored" } */
__declspec (dllexport) int foo2 ();
__declspec (dllimport) int foo2 (); /* { dg-warning "dllimport ignored" } */