summaryrefslogtreecommitdiff
path: root/Test/test0/Types0.bpl
blob: 7bb1dcefa72bc8592fa462ef10a634e7da07d08b (plain)
1
2
3
4
5
6
7
8
type T, U;
type V;

function f([U,V]T, int) returns (U);
function g(x: [U,V]T, y: int) returns (z: U);
function h([U,V]T: int, y: int) returns (z: U);  // parse error
function k(T: int, y: int) returns (U: [any]int);
function l(x) returns (int);  // resolve error