1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-01-04 21:30:49 +00:00
llvm-6502/test/FrontendC/2007-09-05-ConstCtor.c
Chris Lattner 3e64ff6832 Fix a warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52528 91177308-0d34-0410-b5e6-96231b3b80d8
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);
}