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

Unified Diff: pkg/kernel/testcases/input/bad_store.dart

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « pkg/kernel/testcases/input/async_function.dart ('k') | pkg/kernel/testcases/input/call.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/kernel/testcases/input/bad_store.dart
diff --git a/pkg/kernel/testcases/input/bad_store.dart b/pkg/kernel/testcases/input/bad_store.dart
deleted file mode 100644
index 98c709525deeac8d1f49e0d395415e5b08b4c910..0000000000000000000000000000000000000000
--- a/pkg/kernel/testcases/input/bad_store.dart
+++ /dev/null
@@ -1,19 +0,0 @@
-class Foo {
- var field;
-}
-
-dynamic identity(x) => x;
-
-void use(x) {}
-
-main(List<String> args) {
- dynamic foo = identity(new Foo());
- if (args.length > 1) {
- foo.field = "string";
- var first = foo.field;
- use(first);
- foo.noField = "string";
- var second = foo.noField;
- use(second);
- }
-}
« no previous file with comments | « pkg/kernel/testcases/input/async_function.dart ('k') | pkg/kernel/testcases/input/call.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698