Initial commit
This commit is contained in:
21
tests/testlevelerror/test_incompat_proto4.vsl
Normal file
21
tests/testlevelerror/test_incompat_proto4.vsl
Normal file
@@ -0,0 +1,21 @@
|
||||
PROTO VOID f(i, j, t[], m, k[])
|
||||
|
||||
FUNC INT main() {
|
||||
INT i, j
|
||||
INT t1[3]
|
||||
INT t2[2]
|
||||
i := 0
|
||||
j := 1
|
||||
t1[0] := 4
|
||||
t1[1] := 5
|
||||
t1[2] := 6
|
||||
t2[0] := 9
|
||||
t2[1] := 10
|
||||
f(i, j, t1, i, t2)
|
||||
RETURN 0
|
||||
}
|
||||
|
||||
FUNC VOID f(i, j, t, m, k[]) {
|
||||
PRINT i
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user