OLD | NEW |
---|---|
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 // Script which exits with code 42. | 5 class CShared { |
6 toString() => "shared"; | |
7 } | |
6 | 8 |
7 import 'dart:io'; | 9 class C1 { |
10 toString() => "C1"; | |
11 } | |
8 | 12 |
9 void main() { | 13 class C2 { |
10 exitCode = 42; | 14 toString() => "C2"; |
11 } | 15 } |
OLD | NEW |