blob: e1f590f35adc44ce29e3f985a4aec7cbafbaf49c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
pub fn S() type {
return struct {};
}
pub export fn entry() void {
_ = [0]S;
}
// error
// target=native
// backend=stage2
//
// :5:12: error: expected type 'type', found 'fn () type'
|