projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Test case for pr2394 and r102979.
[oota-llvm.git]
/
test
/
FrontendC
/
2007-09-05-ConstCtor.c
1
// RUN: %llvmgcc -xc -Os -c %s -o /dev/null
2
// PR1641
3
4
struct A {
5
unsigned long l;
6
};
7
8
void bar(struct A *a);
9
10
void bork() {
11
const unsigned long vcgt = 1234;
12
struct A a = { vcgt };
13
bar(&a);
14
}