blob: 6730e06c30440da1fa08b0e63a4cd26479631a43 [file] [log] [blame]
// Copyright (c) 2011, 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.
// Redirection constructors must not be cyclic.
class A {
var x;
: this(0)
// [cfe] Redirecting constructors can't be cyclic.
main() {
new A(10);