Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.24.0/tests/lit-tests/err-unsigned.ispc
2025-05-18 13:04:45 +08:00

19 lines
423 B
Plaintext

// RUN: not %{ispc} --target=host --nowrap --nostdlib %s -o - 2>&1 | FileCheck %s
// CHECK: Error: Can't apply "unsigned" qualifier to "varying float" type
struct Bar {
unsigned float x;
};
// CHECK: Error: "unsigned" qualifier is illegal with "varying float" type
unsigned float foo = 1;
// CHECK: Error: "unsigned" qualifier is illegal with "varying struct Foo" typ
struct Foo {
float x;
};
unsigned Foo f;