llvm-6502/test/CFrontend/2007-09-05-ConstCtor.c

15 lines
202 B
C
Raw Normal View History

// 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);
}