Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestIndexRepresentability (0.25 sec)

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

    }
    
    func withSizes(sizes Sizes) func(*Config) {
    	return func(cfg *Config) {
    		cfg.Sizes = sizes
    	}
    }
    
    // TestIndexRepresentability tests that constant index operands must
    // be representable as int even if they already have a type that can
    // represent larger values.
    func TestIndexRepresentability(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. src/go/types/check_test.go

    }
    
    func withSizes(sizes Sizes) func(*Config) {
    	return func(cfg *Config) {
    		cfg.Sizes = sizes
    	}
    }
    
    // TestIndexRepresentability tests that constant index operands must
    // be representable as int even if they already have a type that can
    // represent larger values.
    func TestIndexRepresentability(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top