Commit 9ebd9d3b authored by Rob Pike's avatar Rob Pike

fix some tests

R=ken
OCL=15598
CL=15598
parent 39a4b142
=========== ./dialgoogle.go
/Users/r/go/pkg/net.a:4 dialgoogle.go:5: os is becoming a package behind your back
=========== ./helloworld.go
hello, world
......@@ -277,10 +280,13 @@ fixedbugs/bug073.go:9: illegal types for operand: RSH
(<int32>INT32)
=========== fixedbugs/bug081.go
fixedbugs/bug081.go:5: syntax error
fixedbugs/bug081.go:5: x is var, not type
=========== fixedbugs/bug086.go
fixedbugs/bug086.go:5: function ends without a return statement
=========== fixedbugs/bug091.go
fixedbugs/bug091.go:14: label exit not defined
=========== fixedbugs/bug103.go
fixedbugs/bug103.go:8: function requires a return type
......@@ -262,6 +262,9 @@ main()
tests(10);
tests(100);
print("tots=", tots, " totr=", totr, "\n");
if tots != totr || tots != 3648 {
print("tots=", tots, " totr=", totr, "\n");
sys.exit(1);
}
sys.exit(0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment