File: test_typecheck.mw

package info (click to toggle)
mwrap 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,480 kB
  • sloc: cpp: 3,315; python: 1,850; ansic: 856; makefile: 255; lex: 233; sh: 145
file content (20 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

function badmojo
# double z = sumpair(inout Pair p);
# double z = sumpair(output Pair p);
# dble(inout int y);
# dble(output int y);
# strcat(inout cstring s1, cstring s2);
# strcat(output cstring s1, cstring s2);
# double z = sumpair(inout Pair& p);
# double z = sumpair(inout Pair* p);
# double z = sumpair(output Pair& p);
# double z = sumpair(output Pair* p);
# get34(output int[] z);
# get34(output fcomplex[] z);
# get34(output dcomplex[] z);
# get(output int[1,2,3] z);
# typedef bozo byte;
%# An okay line -- should be ignored, since it doesn't start with #
# // Another okay line -- comments should be ignored
// Another okay line -- comments should be ignored