1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/FrontendC/2007-09-05-ConstCtor.c

15 lines
200 B
C
Raw Normal View History

2007-09-07 10:30:09 +02:00
// RUN: %llvmgcc -xc -Os -c %s -o /dev/null
// PR1641
struct A {
unsigned long l;
};
void bar(struct A *a);
void bork() {
2008-06-20 07:31:04 +02:00
const unsigned long vcgt = 1234;
2007-09-07 10:30:09 +02:00
struct A a = { vcgt };
bar(&a);
}