mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-14 20:22:19 +00:00
11 lines
171 B
Text
11 lines
171 B
Text
|
fun f<X>(v: int, x: X) {}
|
||
|
|
||
|
fun failCantDeduceWithoutArgument() {
|
||
|
return f(1);
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
@compilation_should_fail
|
||
|
@stderr can not deduce X for generic function `f<X>`
|
||
|
*/
|