From 1ab854aa1e21c308c05597ead78bb4dce84a7462 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 23 May 2002 18:27:08 +0000 Subject: New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2735 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2002-05-23-TypeNameCollision.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/CFrontend/2002-05-23-TypeNameCollision.c (limited to 'test/CFrontend') 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; + -- cgit v1.1