Add testcase for #12252 (#15676)

This commit is contained in:
Clyybber
2020-10-22 12:51:03 +02:00
committed by GitHub
parent d8a6b0b04e
commit 7c359a062c

View File

@@ -81,3 +81,10 @@ block:
echo p3(a)
echo p3(b)
echo p3(a, 0)
# bug #12252
proc foo(a = 0, b = a.high, c = high(typeof(a))) =
discard
foo()