aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/tokenizer/doubleplus.bad
blob: 07d187fb3b2f27979f1572954cc2282f55abc89b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

/* ERRORS */
int a = ++1;
int b = --2;
int c = +-3;
int d = -+4;

() test() {
    int x;
    /* ERRORS */
    ++x;
    --x;
    +-x;
    -+x;
    x++;
    x--;
    x+-;
    x-+;
}