blob: 594957405593bc937c99a4808e1e9b2c6336666f [file] [log] [blame]
// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'dart:developer';
fib(int n) {
if (n <= 1) {
return n;
}
return fib(n - 1) + fib(n - 2);
}
void main() {
UserTag('Testing').makeCurrent();
int i = 5;
while (true) {
++i;
fib(i);
}
}