1 REQUIRES: system-windows, lld
2 RUN: %build --compiler=clang-cl --nodefaultlib --output=%t.exe %S/Inputs/FunctionNestedBlockTest.cpp
3 RUN: lldb-test symbols -find=function -file FunctionNestedBlockTest.cpp -line 4 %t.exe | FileCheck --check-prefix=CHECK-FUNCTION %s
4 RUN: lldb-test symbols -find=block -file FunctionNestedBlockTest.cpp -line 4 %t.exe | FileCheck --check-prefix=CHECK-BLOCK %s
6 CHECK-FUNCTION: Found 1 functions:
7 CHECK-FUNCTION: name = "{{.*}}", mangled = "{{_?}}main"
9 CHECK-BLOCK: Found 1 blocks:
10 CHECK-BLOCK: Blocks: id = {{.*}}, range = {{.*}}
11 CHECK-BLOCK: id = {{.*}}, range = {{.*}}