summaryrefslogtreecommitdiff
path: root/tests/auto/cplusplus/preprocessor/data/noPP.2.cpp
blob: 60f2cd9596aab459242e8cd99e2ce7d705bed5d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

void hey(int a) {
    int b = a + 10;
    b;
}

class hello
{
public:
    bool doit() { return true; }
    bool dothat();
    void run();
};

bool hello::dothat()
{
    bool should = true;
    if (should) {
        int i = 10;
        while (i > 0) {
            run();
            --i;
        }
    }
    return false;
}