| 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 of literals. | 5 // Tests of literals. |
| 7 | 6 |
| 8 library literals_tests; | 7 library literals_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(""" | 12 const TestEntry(""" |
| 14 main() { | 13 main() { |
| (...skipping 15 matching lines...) Expand all Loading... |
| 30 P.print(P.LinkedHashMap_LinkedHashMap$_empty()); | 29 P.print(P.LinkedHashMap_LinkedHashMap$_empty()); |
| 31 P.print(P.LinkedHashMap_LinkedHashMap$_literal([1, 2])); | 30 P.print(P.LinkedHashMap_LinkedHashMap$_literal([1, 2])); |
| 32 P.print(P.LinkedHashMap_LinkedHashMap$_literal([[1, 2], [3, 4]])); | 31 P.print(P.LinkedHashMap_LinkedHashMap$_literal([[1, 2], [3, 4]])); |
| 33 return null; | 32 return null; |
| 34 }"""), | 33 }"""), |
| 35 ]; | 34 ]; |
| 36 | 35 |
| 37 void main() { | 36 void main() { |
| 38 runTests(tests); | 37 runTests(tests); |
| 39 } | 38 } |
| OLD | NEW |