1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-02 00:42:52 +01:00
llvm-mirror/test/CFrontend/2007-09-05-ConstCtor.c
Bill Wendling 538f8f9d7f Test for PR1641.
llvm-svn: 41762
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);
}