OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 import "package:expect/expect.dart"; | 5 import "package:expect/expect.dart"; |
6 | 6 |
7 confuse(x) { | 7 confuse(x) { |
8 if (new DateTime.now().millisecondsSinceEpoch == 0) { | 8 if (new DateTime.now().millisecondsSinceEpoch == 0) { |
9 return confuse(x + 1); | 9 return confuse(x + 1); |
10 } else if (new DateTime.now().millisecondsSinceEpoch == 0) { | 10 } else if (new DateTime.now().millisecondsSinceEpoch == 0) { |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 } | 201 } |
202 | 202 |
203 main() { | 203 main() { |
204 test1(); | 204 test1(); |
205 test2(); | 205 test2(); |
206 test3a(); | 206 test3a(); |
207 test3b(); | 207 test3b(); |
208 test4a(); | 208 test4a(); |
209 test4b(); | 209 test4b(); |
210 } | 210 } |
OLD | NEW |