projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New test case.
[oota-llvm.git]
/
test
/
CFrontend
/
2004-03-07-ExternalConstant.c.tr
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