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

11 lines
219 B
Plaintext

// RUN: %{ispc} --target=host --nowrap --nostdlib %s --emit-llvm-text -o - 2>&1 | FileCheck %s
// CHECK: Warning: Symbol "a" shadows symbol declared in outer scope
void foo() {
int a;
{
int a;
}
}