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
7 CHECK-FUNCTION: Found 1 functions:
8 CHECK-FUNCTION: name = "{{.*}}", mangled = "{{_?}}main"
10 CHECK-BLOCK: Found 1 blocks:
11 CHECK-BLOCK: Blocks: id = {{.*}}, range = {{.*}}
12 CHECK-BLOCK: id = {{.*}}, range = {{.*}}