blob: b4b88f1ff90a6b147fcfe461d0487d322e806b62 [file] [log] [blame]
Antonio Maiorano08d92792024-01-11 20:51:50 +00001#include <metal_stdlib>
2
3using namespace metal;
4void deref() {
5 int3 a = 0;
6 int b = a[0];
7 a[0] = 42;
8}
9
10void no_deref() {
11 int3 a = 0;
12 int b = a[0];
13 a[0] = 42;
14}
15
16kernel void tint_symbol() {
17 deref();
18 no_deref();
19 return;
20}
21