1// RUN: %clang %s -g -c -o %t --target=x86_64-apple-macosx
2// RUN: lldb-test symbols --name=A::foo --find=variable %t | FileCheck %s
3
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

source code of lldb/test/Shell/SymbolFile/DWARF/x86/find-qualified-variable.cpp