blob: eb31f7180f7174aac9f82ff61fbbdbc0589fcd5a [file] [log] [blame]
// Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
// Test that a keyword can't be used as type. Serves as regression test for
// crashes in dart2js.
in greeting = "fisk"; // //# 01: compile-time error
main(
in greeting // //# 02: compile-time error
) {
in greeting = "fisk"; // //# 03: compile-time error
print(greeting); // //# 01: continued
}