Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 11 of 11 for myprint1 (0.11 sec)

  1. src/internal/types/testdata/check/builtins0.go

    }
    
    func panic2() {
    	f1 := func() (x int) { return }
    	f2 := func() (x, y int) { return }
    	panic(f0 /* ERROR "used as value" */ ())
    	panic(f1())
    	panic(f2()) // ERROR "too many arguments"
    }
    
    func print1() {
    	print()
    	print(1)
    	print(1, 2)
    	print("foo")
    	print(2.718281828)
    	print(false)
    	print(1<<10)
    	print(1 << /* ERROR "constant shift overflow" */ 1000)
    	println(nil /* ERROR "untyped nil" */ )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
Back to top