2007-09-07 10:30:09 +02:00
|
|
|
// RUN: %llvmgcc -xc -Os -c %s -o /dev/null
|
|
|
|
// PR1641
|
|
|
|
|
|
|
|
struct A {
|
|
|
|
unsigned long l;
|
|
|
|
};
|
|
|
|
|
|
|
|
void bar(struct A *a);
|
|
|
|
|
|
|
|
void bork() {
|
2008-06-20 07:31:04 +02:00
|
|
|
const unsigned long vcgt = 1234;
|
2007-09-07 10:30:09 +02:00
|
|
|
struct A a = { vcgt };
|
|
|
|
bar(&a);
|
|
|
|
}
|