You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
334 B
16 lines
334 B
// 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;
|