aboutsummaryrefslogtreecommitdiffhomepage
path: root/errortest/slul-interfaces/with_type.slul
blob: e30142e8f0c2f02fabb02a11b5f92b6fd3ee70e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

\slul 0.0.0
\name with_type
\type library
\version 1.0 unstable_api

type TypeInLib
# ERROR +3.31: <-- definition: ClosedTypeInLib
# ERROR +2.31: <-- definition: ClosedTypeInLib
# ERROR .31: <-- definition: ClosedTypeInLib
type ClosedTypeInLib = closed struct {
    int x
}

func .local_constructor() -> ClosedTypeInLib