blob: 2e752f16fa2ee560e24f0ba4d88e125527a088aa [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.
/**
* @assertion constructorSignature:
* identifier (‘.’ identifier)? formalParameterList
* ;
* @description Checks that constructor name cannot contain 3 identifiers.
* @compile-error
* @author kaigorodov
*/
class C {
C.c1.c2();
C.c3() {}
}
main() {
new C.c3();
}