aboutsummaryrefslogtreecommitdiffstats
path: root/test/CFrontend
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-23 18:27:08 +0000
committerChris Lattner <sabre@nondot.org>2002-05-23 18:27:08 +0000
commit1ab854aa1e21c308c05597ead78bb4dce84a7462 (patch)
tree0e979ad2dd59c63a0c84e074bd9ee9de4a6b6277 /test/CFrontend
parentc2b42b38f9027f68b35f7ef7d4b1b5d2da38ab61 (diff)
downloadexternal_llvm-1ab854aa1e21c308c05597ead78bb4dce84a7462.zip
external_llvm-1ab854aa1e21c308c05597ead78bb4dce84a7462.tar.gz
external_llvm-1ab854aa1e21c308c05597ead78bb4dce84a7462.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CFrontend')
-rw-r--r--test/CFrontend/2002-05-23-TypeNameCollision.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CFrontend/2002-05-23-TypeNameCollision.c b/test/CFrontend/2002-05-23-TypeNameCollision.c
new file mode 100644
index 0000000..49d9280
--- /dev/null
+++ b/test/CFrontend/2002-05-23-TypeNameCollision.c
@@ -0,0 +1,9 @@
+/* Testcase for when struct tag conflicts with typedef name... grr */
+
+typedef struct foo {
+ struct foo *X;
+ int Y;
+} * foo;
+
+foo F;
+