1
0
mirror of https://github.com/golang/go synced 2024-07-03 00:40:45 +00:00

test: revert changes made for Go SSA interpreter test.

R=r, gri
CC=golang-dev
https://golang.org/cl/14552044
This commit is contained in:
Alan Donovan 2013-10-08 14:36:20 -04:00
parent 254dc5fdbe
commit bab2a5416c
2 changed files with 1 additions and 5 deletions

View File

@ -111,8 +111,7 @@ func main() {
panic(sum)
}
// exp/ssa/interp doesn't yet skip blank fields in struct
// equivalence. It also cannot support unsafe.Pointer.
// go.tools/ssa/interp cannot support unsafe.Pointer.
if os.Getenv("GOSSAINTERP") == "" {
type T1 struct{ x, y, z int }
t1 := *(*T)(unsafe.Pointer(&T1{1, 2, 3}))

View File

@ -6,8 +6,6 @@
package main
import "os"
func main() {
ok := true
for _, tt := range tests {
@ -23,7 +21,6 @@ func main() {
}
if !ok {
println("BUG")
os.Exit(1)
}
}