reid-llvm/examples/generics.reid
2025-08-25 21:00:37 +03:00

9 lines
135 B
Plaintext

// Arithmetic, function calls and imports!
fn test<T>(value: T) -> T {
return value;
}
fn main() -> u32 {
return test<u32>(15);
}