Blob
1 # default protocol version2 const npversion = "9P2000"4 # some constants5 const (6 one = 1:u87 two = 29 notag = -1:u811 n = 412 )14 proc unreachable(qid) { # and useless15 type = qid.type16 assert (17 type == qid.type18 )19 }21 proc test(x) {22 skip()23 }25 proc myrealprint(...) {26 print(...)27 }29 proc myprint(...) {30 myrealprint(...)31 }33 testing "skip called in proc" dir "./root" {34 foo = 5:u835 myprint("hello", "foo is", foo)36 test(3:u32)37 assert 1 == 039 assert (40 5 == 741 7 == 942 8 == 043 )44 }46 testing "casts" dir "./root" {47 foo = 300:u848 }50 proc empty() {51 }53 testing "foobar" dir "./root" {54 }