Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestBuiltinSignatures (0.27 sec)

  1. src/cmd/compile/internal/types2/builtins_test.go

    	{"assert", `type B bool; const pred B = 1 < 2; assert(pred)`, `invalid type`}, // constant
    
    	// no tests for trace since it produces output as a side-effect
    }
    
    func TestBuiltinSignatures(t *testing.T) {
    	DefPredeclaredTestFuncs()
    
    	seen := map[string]bool{"trace": true} // no test for trace built-in; add it manually
    	for _, call := range builtinCalls {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  2. src/go/types/builtins_test.go

    	{"assert", `type B bool; const pred B = 1 < 2; assert(pred)`, `invalid type`}, // constant
    
    	// no tests for trace since it produces output as a side-effect
    }
    
    func TestBuiltinSignatures(t *testing.T) {
    	DefPredeclaredTestFuncs()
    
    	seen := map[string]bool{"trace": true} // no test for trace built-in; add it manually
    	for _, call := range builtinCalls {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top