Commit bab2a541 authored by Alan Donovan's avatar Alan Donovan

test: revert changes made for Go SSA interpreter test.

R=r, gri
CC=golang-dev
https://golang.org/cl/14552044
parent 254dc5fd
...@@ -111,8 +111,7 @@ func main() { ...@@ -111,8 +111,7 @@ func main() {
panic(sum) panic(sum)
} }
// exp/ssa/interp doesn't yet skip blank fields in struct // go.tools/ssa/interp cannot support unsafe.Pointer.
// equivalence. It also cannot support unsafe.Pointer.
if os.Getenv("GOSSAINTERP") == "" { if os.Getenv("GOSSAINTERP") == "" {
type T1 struct{ x, y, z int } type T1 struct{ x, y, z int }
t1 := *(*T)(unsafe.Pointer(&T1{1, 2, 3})) t1 := *(*T)(unsafe.Pointer(&T1{1, 2, 3}))
......
...@@ -6,8 +6,6 @@ ...@@ -6,8 +6,6 @@
package main package main
import "os"
func main() { func main() {
ok := true ok := true
for _, tt := range tests { for _, tt := range tests {
...@@ -23,7 +21,6 @@ func main() { ...@@ -23,7 +21,6 @@ func main() {
} }
if !ok { if !ok {
println("BUG") println("BUG")
os.Exit(1)
} }
} }
......
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