| 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 | |
| 6 | struct A { |
| 7 | static int foo; |
| 8 | }; |
| 9 | int A::foo; |
| 10 | // NAME-DAG: name = "foo", {{.*}} decl = find-qualified-variable.cpp:[[@LINE-1]] |
| 11 | |
| 12 | struct B { |
| 13 | static int foo; |
| 14 | }; |
| 15 | int B::foo; |
| 16 |
