repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
make tblgen produce a function that returns the name for a physreg.
[llvm/avr.git]
/
test
/
FrontendC
/
2004-03-07-ExternalConstant.c
blob
b8e13a35548a42a037bb92c534e209aee0e54f89
1
// RUN: %llvmgcc -xc %s -c -o - | llvm-dis | grep constant
2
3
extern
const int
a
[];
// 'a' should be marked constant even though it's external!
4
int
foo
() {
5
return
a
[
0
];
6
}
7