1#pragma version(1) 2#pragma rs java_package_name(foo) 3 4struct Foo { int f; } foo; 5struct Bar { int f; } bar; 6 7size_t a; 8 9int b[sizeof(void*)]; 10 11rs_allocation c; 12 13#ifdef __LP64__ 14const 15#endif 16int d = 0; 17 18#ifndef __LP64__ 19const 20#endif 21int e = 0; 22 23#ifdef __LP64__ 24struct Foo f; 25#else 26struct Bar f; 27#endif 28 29size_t g[10]; 30 31#ifdef __LP64__ 32int h64; 33#else 34int 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 40size_t z; 41 42int y[sizeof(void*)]; 43 44rs_allocation x; 45 46#ifdef __LP64__ 47const 48#endif 49int w = 0; 50 51#ifndef __LP64__ 52const 53#endif 54int v = 0; 55 56#ifdef __LP64__ 57struct Foo u; 58#else 59struct Bar u; 60#endif 61 62#ifdef __LP64__ 63int t64; 64#else 65int t32; 66#endif 67