xref: /llvm-project/lldb/test/API/lang/cpp/static_methods/main.cpp (revision 4bee2afcd7ea10c9f58f6172924f822849fed8f9)
1 struct A {
2 public:
getStaticValueA3   static int getStaticValue() { return 5; }
getMemberValueA4   int getMemberValue() { return a; }
5   int a;
6 };
7 
main()8 int main()
9 {
10   A a;
11   a.a = 3;
12   return A::getStaticValue() + a.getMemberValue(); // Break here
13 }
14