1#pragma version(1)
2#pragma rs java_package_name(foo)
3
4int *i;
5
6struct f {
7    int i;
8    float *pf;
9    char c;
10    short *ps;
11};
12
13int ia[10];
14
15int RS_KERNEL root(uint32_t ain) {
16  char *c;
17
18  c = (char*) ain; // TODO(srhines): This is ok today.
19  return 0;
20}
21
22void RS_KERNEL in_only(uint32_t ain) {
23}
24
25int RS_KERNEL out_only() {
26  return 0;
27}
28
29int RS_KERNEL everything(uint32_t ain, uint32_t x, uint32_t y) {
30  return (int)&ain; // TODO(srhines): This is ok today.
31}
32
33void old_kernel(const uint32_t *ain, uint32_t x, uint32_t y) {
34}
35
36void test_call() {
37    int i = root(ia[4]);
38}
39
40