Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tB3 (0.02 sec)

  1. test/escape_struct_return.go

    }
    
    func tB1() {
    	s := "cat"
    	sp := &s
    	spp := &sp
    	u := B(spp)
    	_ = u
    	println(s)
    }
    
    func tB2() {
    	s := "cat"
    	sp := &s
    	spp := &sp
    	u := B(spp)
    	println(*u._sp)
    }
    
    func tB3() {
    	s := "cat"
    	sp := &s
    	spp := &sp
    	u := B(spp)
    	println(**u._spp)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 26 23:50:32 UTC 2021
    - 1K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/const0.go

    type (
    	mybool bool
    	myint int
    	myfloat float64
    	mycomplex complex128
    )
    
    // typed constants
    const (
    	// boolean values
    	tb0 bool = false
    	tb1 bool = true
    	tb2 mybool = 2 < 1
    	tb3 mybool = ti1 == tf1 /* ERROR "mismatched types" */
    
    	// integer values
    	ti0 int8 = ui0
    	ti1 int32 = ui1
    	ti2 int64 = ui2
    	ti3 myint = ui3 /* ERROR "overflows" */
    	ti4 myint = ui4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top