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

19 lines
459 B
Plaintext

// RUN: not %{ispc} --target=host --nowrap --nostdlib %s -o - 2>&1 | FileCheck %s
// CHECK: Error: "varying" qualifier is illegal with "void" type
varying void *foo;
// CHECK: Error: "uniform" qualifier is illegal with "void" type
struct FFF {
uniform void *x;
};
// CHECK: Error: "varying" qualifier is illegal with "void" type
varying void *foo() { }
// CHECK: Error: "varying" qualifier is illegal with "void" type
void foo(varying void *x) { }