mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
15 lines
246 B
Text
15 lines
246 B
Text
get int secret() pure {
|
|
return 0;
|
|
}
|
|
get int balanced() pure {
|
|
return 1;
|
|
}
|
|
|
|
int main() {
|
|
return secret() + balanced();
|
|
}
|
|
|
|
{-
|
|
@compilation_should_fail
|
|
@stderr GET methods hash collision: `secret` and `balanced` produce the same hash
|
|
-}
|