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