aboutsummaryrefslogtreecommitdiff
path: root/compiler/tests/parser/expr_member.bad
blob: aceeacb4d290dd1bc18fa7b1722e8a79e93d736a (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
27
28
29
30
31
32


typedef A = (
    ((E e) d) b,
    int c,
);

typedef E = (
    int f,
    int g,
);

A a;

() f() {
    /* ERRORS */
    a.m;
    a.b.c;
    a..;
    a..b;
    a.;
    a."";
    a.c:;
    a.c:123;
    a.c:here;
    a.123;
}

A ainit = ((((1,2),),), 1);
int xx = ainit.2; // ERROR