mirror of
https://github.com/ton-blockchain/ton
synced 2025-02-15 04:32:21 +00:00
12 lines
194 B
Text
12 lines
194 B
Text
|
fun withT1T2<T1, T2>(a: (T1, T2)) {}
|
||
|
|
||
|
fun wrongTCountPassed() {
|
||
|
withT1T2<int>((5, ""));
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
@compilation_should_fail
|
||
|
@stderr wrong count of generic T: expected 2, got 1
|
||
|
@stderr <int>
|
||
|
*/
|