1#pragma version(1) 2#pragma rs java_package_name(foo) 3 4struct hasMatrix { 5 int j; 6 rs_matrix3x3 m; 7 int i; 8} ghm; 9 10extern foo(struct hasMatrix*); 11 12void singleStmt() { 13 struct hasMatrix h = ghm; 14} 15 16struct new_matrix { 17 float f[2]; 18}; 19 20struct new_struct { 21 struct new_matrix m; 22 rs_matrix3x3 t; 23 int i; 24} newm; 25 26void newstmt() { 27 struct new_struct h = {1.f, 2.f, 3}; 28 struct new_struct h_uninit; 29 struct new_struct empty_init = {}; 30} 31 32