diff options
Diffstat (limited to 'test/cmp.go')
-rw-r--r-- | test/cmp.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cmp.go b/test/cmp.go index 5be64561d..73de502f3 100644 --- a/test/cmp.go +++ b/test/cmp.go @@ -43,8 +43,8 @@ func main() { var d string = "hel" // try to get different pointer d = d + "lo" - // exp/ssa/interp can't handle unsafe.Pointer. - if os.Getenv("GOSSAINTERP") != "" { + // go.tools/ssa/interp can't handle unsafe.Pointer. + if os.Getenv("GOSSAINTERP") == "" { if stringptr(c) == stringptr(d) { panic("compiler too smart -- got same string") } @@ -296,7 +296,7 @@ func main() { { var x = struct { x int - _ []int + _ string y float64 _ float64 z int |