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

13 lines
267 B
Plaintext

// RUN: not %{ispc} --nostdlib --nowrap --target=host %s > %t 2>&1
// RUN: FileCheck --input-file=%t %s
// CHECK-NOT: FATAL ERROR: Unhandled signal sent to process
// CHECK: has no member named "f"
struct D {
int h;
};
struct D d;
int foo() {
return d.f;
}