16 lines · cpp
1// RUN: %clangxx %s -g -c -o %t --target=x86_64-apple-macosx2// RUN: lldb-test symbols --name=A::foo --find=variable %t | FileCheck %s3 4// CHECK: Found 1 variables:5 6struct A {7 static int foo;8};9int A::foo;10// NAME-DAG: name = "foo", {{.*}} decl = find-qualified-variable.cpp:[[@LINE-1]]11 12struct B {13 static int foo;14};15int B::foo;16