projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Oops, swap this. This fixes a regression I introduced in the ARM backend.
[oota-llvm.git]
/
test
/
CFrontend
/
2005-10-18-VariableSizedElementCrash.c
1
// RUN: %llvmgcc %s -S -o -
2
// XFAIL: llvmgcc3
3
4
int sub1(int i, char *pi) {
5
typedef int foo[i];
6
struct bar {foo f1; int f2:3; int f3:4} *p = (struct bar *) pi;
7
xxx(p->f1);
8
return p->f3;
9
}
10