diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/dll-3.c')
| -rw-r--r-- | gcc/testsuite/gcc.dg/dll-3.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/dll-3.c b/gcc/testsuite/gcc.dg/dll-3.c index 0be1f973025..2d5517eace6 100644 --- a/gcc/testsuite/gcc.dg/dll-3.c +++ b/gcc/testsuite/gcc.dg/dll-3.c @@ -1,7 +1,8 @@ /* Ensure dllexport overrides dllimport. */ /* { dg-do compile { target arm*-*-pe* } } */ -/* { dg-do compile { target thumb*-*-pe* } } */ +/* { dg-do compile { target i?86-pc-cygwin } } */ +/* { dg-do compile { target i?86-pc-mingw* } } */ __declspec (dllimport) int foo1 (); __declspec (dllexport) int foo1 (); @@ -12,5 +13,6 @@ __declspec (dllimport) int foo2 (); __declspec (dllexport) int foo1 () { return foo2 (); } __declspec (dllexport) int foo2 () { return foo1 (); } -/* { dg-final { scan-assembler "\.section\[ \t\]*\.drectve\n\[^\n\]*-export:foo1.*\.section\[ \t\]*\.drectve\n\[^\n\]*-export:foo2" } } */ -/* { dg-final { scan-assembler-not "(__imp_foo1|__imp_foo2)" } } */ +/* { dg-final { scan-assembler "\.section\[ \t\]*.drectve\n.*-export:foo2" } } */ +/* { dg-final { scan-assembler "-export:foo1" } } */ +/* { dg-final { scan-assembler-not "(__imp_foo1|_imp__foo1|__imp_foo2|_imp__foo2)" } } */ |

