09f3d52265
* OpBinaryOp for performance * Cleanup * Remove ip limit check in every iteration of the loop. * Micro optimizations on frequent ops * Micro optimizations * Patches * Removed redundant binaryop operators from compiler * Merged OpReturn and OpReturnValue * Cleanup
7 lines
161 B
Go
7 lines
161 B
Go
package runtime_test
|
|
|
|
import "testing"
|
|
|
|
func TestVMStackOverflow(t *testing.T) {
|
|
expectError(t, `f := func() { return f() + 1 }; f()`, nil, "stack overflow")
|
|
}
|