OSDN Git Service

* gcc.dg/dll-4.c: Allow foo1 and foo2 in either order in
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / dll-4.c
index 9fcc8e9..897b550 100644 (file)
@@ -11,5 +11,6 @@ int foo2 = 5; /* { dg-warning "redeclared without dllimport" } */
 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 "(foo2:)" } } */
+/* { dg-final { scan-assembler "(\.comm\[ \t_\]*foo1)" } } */
 /* { dg-final { scan-assembler-not "(__imp_|_imp__)" } } */