Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lldb / test / Shell / SymbolFile / DWARF / x86 / find-qualified-variable.cpp
blob1ad3e7fbadf5140b9e895216a698b125c79d6a22
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
4 // CHECK: Found 1 variables:
6 struct A {
7 static int foo;
8 };
9 int A::foo;
10 // NAME-DAG: name = "foo", {{.*}} decl = find-qualified-variable.cpp:[[@LINE-1]]
12 struct B {
13 static int foo;
15 int B::foo;