repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PPC::B and PPC::BCC's target operand may be an immediate.
[llvm/msp430.git]
/
test
/
FrontendC
/
2002-05-23-TypeNameCollision.c
blob
43faf97b1e631d654852b90ce7f3b03250fa4176
1
// RUN: %llvmgcc -S %s -o - | llvm-as -f -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