Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestIssue44515 (0.09 sec)

  1. src/go/types/issues_test.go

    	s3 := NewStruct([]*Var{NewField(nopos, nil, "_", s2, false)}, nil)
    	T2.SetUnderlying(s3)
    
    	// These calls must terminate (no endless recursion).
    	Comparable(T1)
    	Comparable(T2)
    }
    
    func TestIssue44515(t *testing.T) {
    	typ := Unsafe.Scope().Lookup("Pointer").Type()
    
    	got := TypeString(typ, nil)
    	want := "unsafe.Pointer"
    	if got != want {
    		t.Errorf("got %q; want %q", got, want)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/issues_test.go

    	s3 := NewStruct([]*Var{NewField(nopos, nil, "_", s2, false)}, nil)
    	T2.SetUnderlying(s3)
    
    	// These calls must terminate (no endless recursion).
    	Comparable(T1)
    	Comparable(T2)
    }
    
    func TestIssue44515(t *testing.T) {
    	typ := Unsafe.Scope().Lookup("Pointer").Type()
    
    	got := TypeString(typ, nil)
    	want := "unsafe.Pointer"
    	if got != want {
    		t.Errorf("got %q; want %q", got, want)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top