repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove wasteful caching. This isn't needed for correctness because any function
[llvm.git]
/
test
/
FrontendC
/
2005-02-27-MarkGlobalConstant.c
blob
6806c94c10b3f97f8ed393881acaec9c51f68f10
1
// RUN: %llvmgcc -xc %s -S -o - | grep {private unnamed_addr constant }
2
3
// The synthetic global made by the CFE for big initializer should be marked
4
// constant.
5
6
void
bar
();
7
void
foo
() {
8
char
Blah
[] =
"asdlfkajsdlfkajsd;lfkajds;lfkjasd;flkajsd;lkfja;sdlkfjasd"
;
9
bar
(
Blah
);
10
}