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

9 lines
175 B
Plaintext

// RUN: not %{ispc} --target=host --nowrap --nostdlib %s -o - 2>&1 | FileCheck %s
// CHECK: Error: Ignoring redeclaration of symbol "a"
void foo() {
int a;
int a;
}