blob: 5a1f60061988d754bee5ff41d5bbf0cb9c94a06b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* ERRORS */
typedef incomplete a = private; // can't be used
typedef incomplete b = (int x); // shouldn't have "incomplete"
typedef c = (private); // missing "incomplete" keyword
typedef d = (int x, private);
typedef e = (int x, (int y, private));
/* ERRORS "incomplete" keyword can only be used on typedefs */
typedef f = (incomplete (private));
/* ERRORS missing "incomplete" keyword */
typedef g = private?;
typedef h = c?;
typedef j = (private r)();
typedef k = (g)();
typedef l = ()(private x);
typedef m = ()(g);
typedef n = g enum(a=none);
/* ERRORS */
typedef o incomplete = (private);
typedef p = incomplete (private);
|