hanchenye-llvm-project/llvm/test/FrontendC/2007-09-05-ConstCtor.c

15 lines
202 B
C
Raw Normal View History

2007-09-07 16:30:09 +08:00
// 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);
}