test148
auto test148 =
q{--- test148
// Test implicit function template instantiation
T min[T](T a, T b) {
if (a < b) return a;
return b;
}
i8 test_i8(i8 a, i8 b) {
return min(a, b) + min(a, b);
}
i16 test_i16(i16 a, i16 b) {
return min(a, b) + min(a, b);
}
i32 test_i32(i32 a, i32 b) {
return min(a, b) + min(a, b);
}
i64 test_i64(i64 a, i64 b) {
return min(a, b) + min(a, b);
}
};
tests passing
functionsvariables