mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Testcase for PR2958.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69818 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e2a17468d1
commit
d7b2f7ffce
4
test/FrontendC/2009-04-22-UnknownSize.c
Normal file
4
test/FrontendC/2009-04-22-UnknownSize.c
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
// RUN: not %llvmgcc -O1 %s -S |& grep {error: storage size}
|
||||||
|
// PR2958
|
||||||
|
static struct foo s;
|
||||||
|
struct foo *p = &s;
|
Loading…
Reference in New Issue
Block a user