1 #pragma version(1) 2 #pragma rs java_package_name(foo) 3 4 rs_font globalAlloc; 5 rs_font globalAlloc2; 6 7 static void foo() { 8 9 rs_font fontUninit; 10 rs_font fontArr[10]; 11 fontUninit = globalAlloc; 12 for (int i = 0; i < 10; i++) { 13 fontArr[i] = globalAlloc; 14 } 15 16 return; 17 } 18 19 void singleStmt() { 20 globalAlloc = globalAlloc2; 21 } 22 23 int root(void) { 24 foo(); 25 return 10; 26 } 27 28