blob: 3046dc41fb7b5f496179f29a391a7141835f42c8 [file] [log] [blame]
#pragma version(1)
#pragma rs java_package_name(foo)
rs_font globalAlloc;
rs_font globalAlloc2;
struct hasMatrix {
rs_matrix3x3 m;
} ghm;
static void foo() {
rs_font fontUninit;
rs_font fontArr[10];
fontUninit = globalAlloc;
for (int i = 0; i < 10; i++) {
fontArr[i] = globalAlloc;
}
return;
}
void singleStmt() {
struct hasMatrix h = ghm;
ghm = h;
globalAlloc = globalAlloc2;
}
int root(void) {
foo();
return 10;
}