Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for wednesday (0.17 sec)

  1. test/fixedbugs/bug381.go

    // want
    //    bug381.go:30: cannot use time.Wednesday (type time.Weekday) as type int in function argument
    
    package main
    
    import (
    	"time"
    	"unsafe"
    )
    
    func f(int)
    
    func main() {
    	unsafe.Alignof(0) // ERROR "unsafe\.Alignof|value computed is not used"
    	f(time.Wednesday) // ERROR "time.Wednesday|incompatible type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 747 bytes
    - Viewed (0)
  2. src/go/internal/gccgoimporter/testdata/time.gox

    type <type 46>;
    type <type 3>;
    type <type 33>;
    const Tuesday <type 19> = 2 ;
    var UTC <type 15>;
    func Unix (sec <type -4>, nsec <type -4>) <type 3>;
    const UnixDate = "Mon Jan _2 15:04:05 MST 2006";
    const Wednesday <type 19> = 3 ;
    type <type 19>;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 30 21:33:51 UTC 2021
    - 7.3K bytes
    - Viewed (0)
Back to top