13 lines
314 B
Plaintext
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;
|
|
} |