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

Side by Side Diff: pkg/front_end/test/fasta/rasta/unresolved_for_in.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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file.
4
5 import 'dart:collection' as collection;
6
7 typedef void VoidFunction();
8
9 class Fisk {
10 it1(x) {
11 for (key in x) {
12 print(key);
13 }
14 for (Fisk in x) {
15 print(Fisk);
16 }
17 for (collection in x) {
18 print(collection);
19 }
20 for (VoidFunction in x) {
21 print(VoidFunction);
22 }
23 for (1 in x) {
24 print(key);
25 }
26 }
27 }
28
29 main(arguments) {
30 new Fisk();
31 for (key in arguments) {
32 print(key);
33 }
34 for (Fisk in arguments) {
35 print(Fisk);
36 }
37 for (collection in arguments) {
38 print(collection);
39 }
40 for (VoidFunction in arguments) {
41 print(VoidFunction);
42 }
43 for (1 in arguments) {
44 print(key);
45 }
46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698