bolt/bootstrap/cxx/test/checker/local_constraints_polymorphic_variable.bolt
Sam Vervaeck 285f33e93c Add 'bootstrap/cxx/' from commit '7c1a929e9a3d3abb1e2113f531588e059ad5be8c'
git-subtree-dir: bootstrap/cxx
git-subtree-mainline: b732e418cb
git-subtree-split: 7c1a929e9a
2024-01-15 14:04:51 +01:00

9 lines
85 B
Text

let fac n.
n + 1
return n
@expect_diagnostic 2010
@:Int fac "foo"
@:Int fac 1