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

Unified Diff: pkg/front_end/testcases/shaker/source_top.dart

Issue 3011663002: Restructure outline shaker tests. (Closed)
Patch Set: Created 3 years, 4 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: pkg/front_end/testcases/shaker/source_top.dart
diff --git a/pkg/front_end/testcases/shaker/source_top.dart b/pkg/front_end/testcases/shaker/source_top.dart
new file mode 100644
index 0000000000000000000000000000000000000000..2e7cefb908b4c7203881fd7781c2168be5e1cded
--- /dev/null
+++ b/pkg/front_end/testcases/shaker/source_top.dart
@@ -0,0 +1,28 @@
+// Copyright (c) 2017, 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.md file.
+
+import 'lib/sources.dart';
+
+class C1 extends A1 {}
+
+class C2 implements A2 {}
+
+class C3 extends Object with A3 {}
+
+typedef A4 F1(A5 a, [A6 b]);
+typedef A4 F2(A5 a, {A7 b});
+
+A8 topLevelVariable1;
+var topLevelVariable2 = A9;
+
+A10 topLevelFunction1(A11 a, [A12 b]) => null;
+A10 topLevelFunction2(A11 a, {A13 b}) => null;
+
+@Meta(A14)
+class X {}
+
+class Meta {
+ final f;
+ const Meta(this.f);
+}
« no previous file with comments | « pkg/front_end/testcases/shaker/source_local.dart.shaker ('k') | pkg/front_end/testcases/shaker/source_top.dart.shaker » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698