Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for printr (1.21 sec)

  1. src/cmd/cgo/internal/test/issue27340/a.go

    // We use the #pragma to avoid a compiler warning about incompatible
    // pointer types, because we generate code passing a struct ptr rather
    // than using the typedef. This warning is expected and does not break
    // a normal build.
    // We can only disable -Wincompatible-pointer-types starting with GCC 5.
    
    // #if __GNU_MAJOR__ >= 5
    //
    // #pragma GCC diagnostic ignored "-Wincompatible-pointer-types"
    //
    // typedef struct {
    // 	int a;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testshared/testdata/issue25065/a.go

    // Package issue25065 has a type with a method that is
    //  1. referenced in a method expression
    //  2. not called
    //  3. not converted to an interface
    //  4. is a value method but the reference is to the pointer method
    //
    // These cases avoid the call to makefuncsym from typecheckfunc, but we
    // still need to call makefuncsym somehow or the symbol will not be defined.
    package issue25065
    
    type T int
    
    func (t T) M() {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 619 bytes
    - Viewed (0)
Back to top