aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/dll-4.c
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-03-13 22:21:21 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2003-03-13 22:21:21 +0000
commit67e4f0782003cb45352e14e1b12e99a7251c7b26 (patch)
treeef3afc010c8272275f5c876b0d7e810634032a30 /gcc/testsuite/gcc.dg/dll-4.c
parent0171b21c32016b8397c8cdbc793904b4163e7573 (diff)
downloadgcc-67e4f0782003cb45352e14e1b12e99a7251c7b26.zip
gcc-67e4f0782003cb45352e14e1b12e99a7251c7b26.tar.gz
gcc-67e4f0782003cb45352e14e1b12e99a7251c7b26.tar.bz2
dll-1.c: Remove thumb target.
* gcc.dg/dll-1.c: Remove thumb target. Change exp to _exp. * gcc.dg/dll-2.c: Enable for cygwin and mingw. Remove thumb target, * gcc.dg/dll-3.c: Likewise. Adjust scan-assembler to accept newer _imp__ prefix and additional newline in .drectve section. * gcc.dg/dll-4.c: Likewise. * gcc.dg/dll-5.c: New file to test -mnop-fun-dllimport switch. From-SVN: r64337
Diffstat (limited to 'gcc/testsuite/gcc.dg/dll-4.c')
-rw-r--r--gcc/testsuite/gcc.dg/dll-4.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.dg/dll-4.c b/gcc/testsuite/gcc.dg/dll-4.c
index fec08fc..45ed7a1 100644
--- a/gcc/testsuite/gcc.dg/dll-4.c
+++ b/gcc/testsuite/gcc.dg/dll-4.c
@@ -1,5 +1,6 @@
/* { 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;
int foo1;
@@ -11,4 +12,4 @@ int f () { return foo1 + foo2; }
/* FIXME: We should scan the output of nm for this case. */
/* { dg-final { scan-assembler "(foo2:.*\.comm\[ \t_\]*foo1)" } } */
-/* { dg-final { scan-assembler-not "__imp_" } } */
+/* { dg-final { scan-assembler-not "(__imp_|_imp__)" } } */