diff --git a/test/CFrontend/2002-05-23-TypeNameCollision.c b/test/CFrontend/2002-05-23-TypeNameCollision.c new file mode 100644 index 00000000000..49d92806051 --- /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; +