1 #pragma version(1) 2 #pragma rs java_package_name(foo) 3 4 struct Foo { int f; } foo; 5 struct Bar { int f; } bar; 6 7 size_t a; 8 9 int b[sizeof(void*)]; 10 11 rs_allocation c; 12 13 #ifdef __LP64__ 14 const 15 #endif 16 int d = 0; 17 18 #ifndef __LP64__ 19 const 20 #endif 21 int e = 0; 22 23 #ifdef __LP64__ 24 struct Foo f; 25 #else 26 struct Bar f; 27 #endif 28 29 size_t g[10]; 30 31 #ifdef __LP64__ 32 int h64; 33 #else 34 int h32; 35 #endif 36 37 // the errors after this point should go unreported, because of the 38 // variable name mismatch above (h32 versus h64) 39 40 size_t z; 41 42 int y[sizeof(void*)]; 43 44 rs_allocation x; 45 46 #ifdef __LP64__ 47 const 48 #endif 49 int w = 0; 50 51 #ifndef __LP64__ 52 const 53 #endif 54 int v = 0; 55 56 #ifdef __LP64__ 57 struct Foo u; 58 #else 59 struct Bar u; 60 #endif 61 62 #ifdef __LP64__ 63 int t64; 64 #else 65 int t32; 66 #endif 67