| 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 // VMOptions=-DUSE_CPS_IR=true | |
| 5 | 4 |
| 6 // Tests for basic functionality. | 5 // Tests for basic functionality. |
| 7 | 6 |
| 8 library basic_tests; | 7 library basic_tests; |
| 9 | 8 |
| 10 import 'js_backend_cps_ir.dart'; | 9 import 'js_backend_cps_ir.dart'; |
| 11 | 10 |
| 12 const List<TestEntry> tests = const [ | 11 const List<TestEntry> tests = const [ |
| 13 const TestEntry(r""" | 12 const TestEntry(r""" |
| 14 main() { | 13 main() { |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 function() { | 182 function() { |
| 184 P.print("Done"); | 183 P.print("Done"); |
| 185 return null; | 184 return null; |
| 186 }""") | 185 }""") |
| 187 ]; | 186 ]; |
| 188 | 187 |
| 189 | 188 |
| 190 void main() { | 189 void main() { |
| 191 runTests(tests); | 190 runTests(tests); |
| 192 } | 191 } |
| OLD | NEW |