Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for makePeano (0.07 sec)

  1. test/fixedbugs/issue4316.go

    // is confused when it encounters a split-stack function
    // that needs 0 bytes of stack space.
    
    package main
    
    type Peano *Peano
    
    func makePeano(n int) *Peano {
    	if n == 0 {
    		return nil
    	}
    	p := Peano(makePeano(n - 1))
    	return &p
    }
    
    var countArg Peano
    var countResult int
    
    func countPeano() {
    	if countArg == nil {
    		countResult = 0
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 972 bytes
    - Viewed (0)
Back to top