Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1104)

Unified Diff: compiler/javatests/com/google/dart/compiler/backend/js/testRuntimeTypes.dart

Issue 9479013: Remove backends. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More clean up Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: compiler/javatests/com/google/dart/compiler/backend/js/testRuntimeTypes.dart
diff --git a/compiler/javatests/com/google/dart/compiler/backend/js/testRuntimeTypes.dart b/compiler/javatests/com/google/dart/compiler/backend/js/testRuntimeTypes.dart
deleted file mode 100644
index e52dcf17e5c87d44eac4d9b9a0672a6f6a937776..0000000000000000000000000000000000000000
--- a/compiler/javatests/com/google/dart/compiler/backend/js/testRuntimeTypes.dart
+++ /dev/null
@@ -1,49 +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.
-
-class B {
- const B();
-}
-
-class C<T> {
- const C();
-}
-
-class D<T> extends C<T> {
- factory D() {
- return new E<T>();
- }
-}
-
-class E<T> extends D<T> {
-}
-
-
-// SnippetTestCase only returns generated JS for the Main class.
-class Main {
- static void main() {
- var a = 0;
- var _marker_0 = 1;
- var _marker_B1 = const B();
- var _marker_B2 = new B();
- var _marker_C1 = const C();
- var _marker_C2 = const C<String>();
- var _marker_C3 = new C();
- var _marker_C4 = new C<Object>();
- var _marker_D1 = new D();
- var _marker_D2 = new D<String>();
-
- a = _marker_B1 is B;
- a = _marker_C1 is C;
- a = _marker_C2 is C<String>;
- a = _marker_C4 is C<Object>;
- a = _marker_C4 is Object;
- a = _marker_D1 is D;
- a = _marker_D2 is D<String>;
- }
-}
-
-main() {
- Main.main();
-}

Powered by Google App Engine
This is Rietveld 408576698