Index: dart/compiler/javatests/com/google/dart/compiler/parser/FactoryInitializersNegativeTest.dart |
diff --git a/dart/compiler/javatests/com/google/dart/compiler/parser/FactoryInitializersNegativeTest.dart b/dart/compiler/javatests/com/google/dart/compiler/parser/FactoryInitializersNegativeTest.dart |
deleted file mode 100644 |
index 6fcf52cca9943a2a94c248267f14a6c135839d0b..0000000000000000000000000000000000000000 |
--- a/dart/compiler/javatests/com/google/dart/compiler/parser/FactoryInitializersNegativeTest.dart |
+++ /dev/null |
@@ -1,12 +0,0 @@ |
-// 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. |
- |
-// expect syntax errors: Factory constructors cannot have initializers. |
- |
-class A { |
- int x; |
- int y; |
- factory A.foo(x,y) : this.x = 1 { |
- } |
-} |