1//===-- main.cpp ------------------------------------------------*- C++ -*-===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include <stdio.h>
11
12struct A
13{
14    short m_a;
15    static long s_b;
16    char m_c;
17    static int s_d;
18
19    long access() {
20        return m_a + s_b + m_c + s_d; // breakpoint 2
21    }
22};
23
24long A::s_b = 2;
25int A::s_d = 4;
26
27int main()
28{
29    A my_a;
30    my_a.m_a = 1;
31    my_a.m_c = 3;
32
33    my_a.access(); // breakpoint 1
34    return 0;
35}
36
37