mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
New testcase that crashes the cfe
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6925 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
17
test/CFrontend/2003-06-26-CFECrash.c
Normal file
17
test/CFrontend/2003-06-26-CFECrash.c
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
typedef struct min_info {
|
||||||
|
long offset;
|
||||||
|
unsigned file_attr;
|
||||||
|
} min_info;
|
||||||
|
|
||||||
|
typedef struct Globals {
|
||||||
|
char answerbuf;
|
||||||
|
min_info info[1];
|
||||||
|
min_info *pInfo;
|
||||||
|
} Uz_Globs;
|
||||||
|
|
||||||
|
extern Uz_Globs G;
|
||||||
|
|
||||||
|
int extract_or_test_files() {
|
||||||
|
G.pInfo = G.info;
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user