Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for uc2 (0.01 sec)

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

    	uc12 = uc3 / uc0 /* ERROR "division by zero" */
    
    	uc16 = uc2 /* ERROR "not defined" */ & uc3
    	uc17 = uc2 /* ERROR "not defined" */ | uc3
    	uc18 = uc2 /* ERROR "not defined" */ ^ uc3
    )
    
    type (
    	mybool bool
    	myint int
    	myfloat float64
    	mycomplex complex128
    )
    
    // typed constants
    const (
    	// boolean values
    	tb0 bool = false
    	tb1 bool = true
    	tb2 mybool = 2 < 1
    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