mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Test for PR1641.
llvm-svn: 41762
This commit is contained in:
parent
8e6c39d961
commit
538f8f9d7f
14
test/CFrontend/2007-09-05-ConstCtor.c
Normal file
14
test/CFrontend/2007-09-05-ConstCtor.c
Normal 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);
|
||||
}
|
Loading…
Reference in New Issue
Block a user