]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/2002-05-23-TypeNameCollision.c
Vendor import of clang release_30 branch r142614:
[FreeBSD/FreeBSD.git] / test / CodeGen / 2002-05-23-TypeNameCollision.c
1 // RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
2
3 /* Testcase for when struct tag conflicts with typedef name... grr */
4
5 typedef struct foo {
6   struct foo *X;
7   int Y;
8 } * foo;
9
10 foo F1;
11 struct foo *F2;
12
13 enum bar { test1, test2 };
14
15 typedef float bar;
16
17 enum bar B1;
18 bar B2;
19