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

17 lines
282 B
Plaintext

// RUN: not %{ispc} --target=host --nowrap --nostdlib %s -o - 2>&1 | FileCheck %s
// CHECK: Unable to find any matching overload for call to function "func".
enum Enum111{
One,
Two
};
void func(void* x) {
return;
}
void func1(Enum111 Foo1111) {
func(Foo1111);
}