Files
UnrealEngine/Engine/Source/ThirdParty/Intel/ISPC/ispc-1.17.0/tests/lit-tests/1505.ispc
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

12 lines
225 B
Plaintext

// RUN: not %{ispc} %s > %t 2>&1
// RUN: FileCheck --input-file=%t %s
// CHECK: Error:
// CHECK-NOT: Please file a bug
extern "C" int32 foo(int8* ptr) {
int i = 0;
while(*ptr != 0){
i++;
}
return i;
}