Test case for function application source location

This commit is contained in:
Ulf Norell
2019-09-14 12:12:55 +02:00
parent 11d998b739
commit 981027b2e7
2 changed files with 13 additions and 1 deletions
+5
View File
@@ -57,3 +57,8 @@ contract Test =
let f() = 0
let g() = f()
function id(x : 'a) : 'a = x
entrypoint wrong_return(n : int) : bool =
id(n)