blob: 5907685998a1dd2c98e0faf22359f26519e76d4f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
discard """
matrix: "--warningAsError:ProveInit"
"""
{.experimental: "strictdefs".}
proc foo(x: out int) =
x = 1
proc bar(x: out int) =
foo(x)
var s: int
bar(s)
|