Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

8 lines
372 B
Plaintext

//; RUN: %{ispc} %s -o %t.o --nowrap --target=host 2>&1 | FileCheck %s
//; CHECK-NOT: 5:35: Warning: Binary expression with type "const uniform int32" can't represent value.
//; CHECK: 6:33: Warning: Binary expression with type "const uniform int32" can't represent value.
void foo() {
uniform unsigned int nowarn = 1 << 31;
uniform unsigned int warn = 1 << 32;
}