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

16 lines
405 B
Plaintext

// RUN: not %{ispc} --target=host --nostdlib --nowrap -o - %s 2>&1 | FileCheck %s
// XFAIL: ASAN_RUN
// CHECK: Error: syntax error
// CHECK-NOT: detected memory leaks
// CHECK-NOT: FATAL ERROR: Unhandled signal sent to process
// TODO: check no memoryleak reported with "CHECK-NOT: detected memory leaks"
int foo(int i) { return 1;}
int bar() {
int d = foo(2) // missing semicolon
return d;
}