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

13 lines
314 B
Plaintext

// RUN: not %{ispc} --target=host --nowrap --nostdlib %s -o - 2>&1 | FileCheck %s
// CHECK: Error: Can't convert between differently sized vector types
void foo(float<3> a, int<2> b) {
a += b;
}
// CHECK: Error: syntax error, unexpected identifier, expecting int
void foo(uniform int i) {
float<i> a;
}