1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/FrontendC/2007-09-05-ConstCtor.c
Chris Lattner 873cf9817f Fix a warning.
llvm-svn: 52528
2008-06-20 05:31:04 +00:00

15 lines
200 B
C

// RUN: %llvmgcc -xc -Os -c %s -o /dev/null
// PR1641
struct A {
unsigned long l;
};
void bar(struct A *a);
void bork() {
const unsigned long vcgt = 1234;
struct A a = { vcgt };
bar(&a);
}