Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Test18720 (0.26 sec)

  1. src/cmd/cgo/internal/test/cgo_test.go

    func Test17065(t *testing.T)                 { test17065(t) }
    func Test17537(t *testing.T)                 { test17537(t) }
    func Test18126(t *testing.T)                 { test18126(t) }
    func Test18720(t *testing.T)                 { test18720(t) }
    func Test20129(t *testing.T)                 { test20129(t) }
    func Test20266(t *testing.T)                 { test20266(t) }
    func Test20369(t *testing.T)                 { test20369(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/test.go

    }
    
    // issue 18126
    
    func test18126(t *testing.T) {
    	p := C.malloc(1)
    	_, err := C.Issue18126C(&p)
    	C.free(p)
    	_ = err
    }
    
    // issue 18720
    
    func test18720(t *testing.T) {
    	if got, want := C.HELLO_WORLD, "hello\000world"; got != want {
    		t.Errorf("C.HELLO_WORLD == %q, expected %q", got, want)
    	}
    
    	if got, want := C.VAR1, C.int(5); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top