blob: c7c259724644ac4132cfbc06ef2529ddfd386f4b (
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
//
// :4:1: error: expected type, found fn() type
|