blob: 9a2b0e230011458464a3feba864d0e1b3b4e50fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
typedef a = ()()?; // ERROR one must use ^? here
()() b; // ERROR trying to allocate a function!
typedef c = ( // ERROR function type must be in a pointer type (should really appear on the line below...)
int() bad,
);
/* ERRORS must be in pointer types */
typedef d = func();
int(int x)#[1] e;
(int(int x) fun) f;
func g;
/* ERRORS function type does not have a value */
enum ()() h;
typedef func = ()();
|