brintos

brintos / llvm-project-archived public Read only

0
0
Text · 282 B · df11c4c Raw
23 lines · cpp
1struct A {2  short m_a;3  static long s_b;4  static int s_c;5 6  long access() {7    return m_a + s_b + s_c; // stop in member function8  }9};10 11long A::s_b = 2;12int A::s_c = 3;13 14int main() {15  A my_a;16  my_a.m_a = 1;17 18  int arr[2]{0};19 20  my_a.access(); // stop in main21  return 0;22}23