mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
Test for PR1641.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41762 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a54c7eb157
commit
0fe4b5a113
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…
x
Reference in New Issue
Block a user