OSDN Git Service

* lib/scanasm.exp (scan-assembler*): Don't take "testcase" argument.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / dll-4.c
1 /* { dg-do compile { target arm*-*-pe* } } */
2 /* { dg-do compile { target thumb*-*-pe* } } */
3
4 __declspec (dllimport) int foo1;
5 int foo1;
6
7 __declspec (dllimport) int foo2;
8 int foo2 = 5;
9
10 int f () { return foo1 + foo2; }
11
12 /* FIXME: We should scan the output of nm for this case.  */
13 /* { dg-final { scan-assembler "(foo2:.*\.comm\[ \t_\]*foo1)" } } */
14 /* { dg-final { scan-assembler-not "__imp_" } } */