test109
auto test109 =
q{--- test109
// Test all type kinds
struct S {
i32 n;
}
T pass[T](T a) {
return a;
}
i8 test_basic(i8 a) {
return pass[i8](a);
}
u8* test_ptr(u8* ptr) {
return pass[u8*](ptr);
}
S test_struct(S s) {
return pass[S](s);
}
u8[] test_i64(u8[] slice) {
return pass[u8[]](slice);
}
};
tests passing
functionsvariables