mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Testcase that crashes llvmgcc in type layout
llvm-svn: 23806
This commit is contained in:
parent
6416c5627d
commit
fb8bc57259
@ -0,0 +1,9 @@
|
||||
// RUN: %llvmgcc %s -S -o -
|
||||
// XFAIL: *
|
||||
int sub1(int i, char *pi) {
|
||||
typedef int foo[i];
|
||||
struct bar {foo f1; int f2:3; int f3:4} *p = (struct bar *) pi;
|
||||
xxx(p->f1);
|
||||
return p->f3;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user