Test for PR1641.

llvm-svn: 41762
This commit is contained in:
Bill Wendling 2007-09-07 08:30:09 +00:00
parent 85a51e0060
commit 5f912b9149
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
// 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);
}