Use "isa" since the variable isn't used.
[llvm-complete.git] / test / DebugInfo / Inputs / dwarfdump-pubnames.cc
blob284755bd940f656af54eade6940b0ad3612157a4
1 // Object file built using:
2 // clang -g -mllvm -generate-dwarf-pubnames -o dwarfdump-pubnames.elf-x86_64 \
3 // dwarfdump-pubnames.cc -c
5 struct C {
6 void member_function();
7 static int static_member_function();
8 static int static_member_variable;
9 };
11 int C::static_member_variable = 0;
13 void C::member_function() {
14 static_member_variable = 0;
17 int C::static_member_function() {
18 return static_member_variable;
21 C global_variable;
23 int global_function() {
24 return -1;
27 namespace ns {
28 void global_namespace_function() {
29 global_variable.member_function();
31 int global_namespace_variable = 1;