summaryrefslogtreecommitdiffstats
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-06-24 21:37:08 +0000
committerChris Lattner <sabre@nondot.org>2002-06-24 21:37:08 +0000
commit15c5977869a0460096756fcc89553bf3bf8d6a87 (patch)
treeeeea8d74a6ebed3d605469cd488e8ad5f7e47d62 /test/CFrontend
parent65fbd4a212264e9f5cc45d3a73fb8f25861a4320 (diff)
downloadexternal_llvm-15c5977869a0460096756fcc89553bf3bf8d6a87.zip
external_llvm-15c5977869a0460096756fcc89553bf3bf8d6a87.tar.gz
external_llvm-15c5977869a0460096756fcc89553bf3bf8d6a87.tar.bz2
Test more thoroughly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2769 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2002-05-23-TypeNameCollision.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/CFrontend/2002-05-23-TypeNameCollision.c b/test/CFrontend/2002-05-23-TypeNameCollision.c
index 49d9280..35508c9 100644
--- a/test/CFrontend/2002-05-23-TypeNameCollision.c
+++ b/test/CFrontend/2002-05-23-TypeNameCollision.c
@@ -5,5 +5,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;