summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/SymbolFile/DWARF/find-qualified-variable.cpp
blob: 1ad3e7fbadf5140b9e895216a698b125c79d6a22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang %s -g -c -o %t --target=x86_64-apple-macosx
// RUN: lldb-test symbols --name=A::foo --find=variable %t | FileCheck %s

// CHECK: Found 1 variables:

struct A {
  static int foo;
};
int A::foo;
// NAME-DAG: name = "foo", {{.*}} decl = find-qualified-variable.cpp:[[@LINE-1]]

struct B {
  static int foo;
};
int B::foo;
OpenPOWER on IntegriCloud