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
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
FrontendC
/
2005-02-27-MarkGlobalConstant.c
blob
b9fbbb6369a5c4b32684690046ed0f8a89d545db
1
// RUN: %llvmgcc -xc %s -S -o - | grep {private 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
}