[clang] Add tracking source deduction guide for the explicitly-written
[llvm-project.git] / lldb / test / API / lang / cpp / static_members / main.cpp
blobdf11c4c5cf7eccf3d4d3552dd554f31301059d2a
1 struct A {
2 short m_a;
3 static long s_b;
4 static int s_c;
6 long access() {
7 return m_a + s_b + s_c; // stop in member function
9 };
11 long A::s_b = 2;
12 int A::s_c = 3;
14 int main() {
15 A my_a;
16 my_a.m_a = 1;
18 int arr[2]{0};
20 my_a.access(); // stop in main
21 return 0;