blob: 9d8d3ee4030682d79a754accc549332e23073fd2 (
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
|
/* ERRORS */
() a {}
() b(while) {}
() c while {}
while d() {}
/* ERRORS */
() u(func()());
() w(()func());
() test() {
a(); // ERROR
a(1); // ERROR
b(); // "while" in parameter list is ignored, error is recovered from here.
b(1); // ERROR
b(1,1); // ERROR
c(); // ERROR "c" doesn't get defined
d(); // ERROR
/* ERRORS */
a(b);
b(c);
c(d);
e(a);
u(@a);
u(@b);
u(@c);
u(@d);
}
|