all: support interface asserts in interp

This adds support for the math/rand package.
This commit is contained in:
Ayke van Laethem
2019-04-13 17:13:16 +02:00
committed by Ron Evans
parent 02ecab833f
commit 7de3d4be2b
7 changed files with 104 additions and 84 deletions
+3
View File
@@ -2,6 +2,7 @@ package main
import (
"fmt"
"math/rand"
"os"
)
@@ -9,4 +10,6 @@ func main() {
fmt.Println("stdin: ", os.Stdin.Fd())
fmt.Println("stdout:", os.Stdout.Fd())
fmt.Println("stderr:", os.Stderr.Fd())
fmt.Println("pseudorandom number:", rand.Int31())
}