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-02-13-TypeVarNameCollision.c
blob
ec334013ae0199691b5a6c9fb109068e6288897d
1
// RUN: %llvmgcc -S %s -o - | llvm-as -f -o /dev/null
2
3
/* This testcase causes a symbol table collision. Type names and variable
4
* names should be in distinct namespaces
5
*/
6
7
typedef
struct
foo
{
8
int
X
,
Y
;
9
}
FOO
;
10
11
static
FOO foo
[
100
];
12
13
int
test
() {
14
return
foo
[
4
].
Y
;
15
}
16