Change Go test case to compile with current compiler.

Recent changes caused this to give an error about an unused variable.
This commit is contained in:
Ian Lance Taylor 2015-02-03 13:55:41 -08:00
commit 96134c65a8

View file

@ -196,13 +196,13 @@ func main() {
}() }()
//Namespace //Namespace
my := contract.NewMyClass(1) contract.NewMyClass(1)
func() { func() {
defer func() { defer func() {
if recover() == nil { if recover() == nil {
panic("Failed! constructor preassertion") panic("Failed! constructor preassertion")
} }
}() }()
my = contract.NewMyClass(0) contract.NewMyClass(0)
}() }()
} }