aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/SymbolFile/DWARF/x86/find-qualified-variable.cpp
blob: e3f9ce308b75c412a154d39a141e5e3009b8795e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clangxx %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;