Make this pass for CYGWIN.
[oota-llvm.git] / test / CFrontend / 2002-05-23-TypeNameCollision.c
index 49d92806051629899e75e76a8404dbcb8f491857..43faf97b1e631d654852b90ce7f3b03250fa4176 100644 (file)
@@ -1,3 +1,5 @@
+// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
+
 /* Testcase for when struct tag conflicts with typedef name... grr */
 
 typedef struct foo {
@@ -5,5 +7,13 @@ typedef struct foo {
   int Y;
 } * foo;
 
-foo F;
+foo F1;
+struct foo *F2;
+
+enum bar { test1, test2 };
+
+typedef float bar;
+
+enum bar B1;
+bar B2;