OLD | NEW |
1 // Copyright (c) 2015, the Fletch project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dartino 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
4 | 4 |
5 // throwing_program.dart is used in rerun_throwing_program_test.dart. | 5 // throwing_program.dart is used in rerun_throwing_program_test.dart. |
6 // Test that trying to run a program with uncaught exception provides correct | 6 // Test that trying to run a program with uncaught exception provides correct |
7 // error message. | 7 // error message. |
8 | 8 |
9 main () { | 9 main () { |
10 throw 42; | 10 throw 42; |
11 } | 11 } |
OLD | NEW |