llvm-6502/test/CFrontend/2007-09-05-ConstCtor.c
Bill Wendling 0fe4b5a113 Test for PR1641.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41762 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-07 08:30:09 +00:00

15 lines
202 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 = 'vcgt';
struct A a = { vcgt };
bar(&a);
}