1#pragma version(1) 2#pragma rs java_package_name(foo) 3 4const int ic = 99; 5 6int ica[2] = {ic, 1000}; 7 8float fa[4] = {1.0, 9.9999f}; 9double da[2] = {7.0, 8.88888}; 10char ca[4] = {'a', 7, 'b', 'c'}; 11short sa[4] = {1, 1, 2, 3}; 12int ia[4] = {5, 8}; 13long la[2] = {13, 21}; 14long long lla[4] = {34}; 15bool ba[3] = {true, false}; 16 17// Clang should implicitly promote this type to have a constant size of 3. 18char implicitArray[] = { 'a', 'b', 'c' }; 19 20// Clang should implicitly promote this type to have a constant size of 1. 21// Note that this creates a warning. 22char implicitArrayUninit[]; 23