blob: e0c946221b4464acf69ce0e07423cbc3518ce2ac [file] [log] [blame]
// +build ignore,OMIT
package main
import "fmt"
func fib(x int) int {
if x < 2 {
return x
}
return fib(x-1) + fib(x-2)
}
func main() {
fmt.Println(fib(7))
}