blob: 9438c9efd336af7c7685ca9f88f65c9ba27dac6b [file] [log] [blame]
void deref() {
int3 a = (int(0)).xxx;
int3 p = a;
int b = p.x;
p[0u] = int(42);
}
void no_deref() {
int3 a = (int(0)).xxx;
int3 p = a;
int b = p.x;
p[0u] = int(42);
}
[numthreads(1, 1, 1)]
void main() {
deref();
no_deref();
}