forked from cosmonaut/wraith-lang
13 lines
187 B
OpenEdge ABL
13 lines
187 B
OpenEdge ABL
|
struct Foo {
|
||
|
static Func<T>(t: T): T {
|
||
|
return t;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
struct Program {
|
||
|
static main(): int {
|
||
|
x: int = 4;
|
||
|
y: int = Foo.Func(x);
|
||
|
return x;
|
||
|
}
|
||
|
}
|