mirror of
https://github.com/golang/go
synced 2024-11-11 22:20:22 -07:00
This test now runs correctly, with no bugs commented out
SVN=122460
This commit is contained in:
parent
2254a8ee99
commit
4633a8ffe7
@ -99,10 +99,10 @@ func main() {
|
||||
assert(u22 == u23, "u22");
|
||||
|
||||
// uint64
|
||||
//BUG var u30 uint64 = 0;
|
||||
//BUG var u31 uint64 = 1;
|
||||
//BUG var u32 uint64 = 18446744073709551615;
|
||||
//BUG var u33 uint64 = +18446744073709551615;
|
||||
var u30 uint64 = 0;
|
||||
var u31 uint64 = 1;
|
||||
var u32 uint64 = 18446744073709551615;
|
||||
var u33 uint64 = +18446744073709551615;
|
||||
|
||||
// float
|
||||
var f00 float = 3.14159;
|
||||
@ -186,7 +186,7 @@ func main() {
|
||||
assert(s1[0] == 'h', "s1-0");
|
||||
assert(s1[4] == 0xc3, "s1-4");
|
||||
assert(s1[5] == 0xb4, "s1-5");
|
||||
// var s2 string = "\a\b\f\n\r\t\v"; // BUG: \r miscompiles
|
||||
var s2 string = "\a\b\f\n\r\t\v";
|
||||
|
||||
var s00 string = "\000";
|
||||
var s01 string = "\007";
|
||||
|
Loading…
Reference in New Issue
Block a user