mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-15 09:33:39 +00:00
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31308 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c160744e92
commit
406dd6a768
16
test/CFrontend/2006-10-30-ArrayCrash.c
Normal file
16
test/CFrontend/2006-10-30-ArrayCrash.c
Normal file
@ -0,0 +1,16 @@
|
||||
// RUN: %llvmgcc -O3 -S -o - %s
|
||||
|
||||
extern void foo();
|
||||
|
||||
struct S {
|
||||
short f1[3];
|
||||
unsigned int f2 : 1;
|
||||
};
|
||||
|
||||
void bar()
|
||||
{
|
||||
struct S *A;
|
||||
|
||||
if (A->f2)
|
||||
foo();
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user