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

Side by Side Diff: tests/compiler/dart2js_extra/private_symbol_literal_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (Closed)
Patch Set: Created 3 years, 9 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
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Test symbol literals with underscores. 5 // Test symbol literals with underscores.
6 // These are currently unsupported by dart2js. 6 // These are currently unsupported by dart2js.
7 7
8 library symbol_literal_test; 8 library symbol_literal_test;
9 9
10 main() { 10 main() {
11 print(#a); 11 print(#a);
12 print(#_a); /// 01: compile-time error 12 print(#_a); //# 01: compile-time error
13 13
14 print(#a.b); 14 print(#a.b);
15 print(#_a.b); /// 02: compile-time error 15 print(#_a.b); //# 02: compile-time error
16 print(#a._b); /// 03: compile-time error 16 print(#a._b); //# 03: compile-time error
17 17
18 print(#a.b.c); 18 print(#a.b.c);
19 print(#_a.b.c); /// 04: compile-time error 19 print(#_a.b.c); //# 04: compile-time error
20 print(#a._b.c); /// 05: compile-time error 20 print(#a._b.c); //# 05: compile-time error
21 print(#a.b._c); /// 06: compile-time error 21 print(#a.b._c); //# 06: compile-time error
22 } 22 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js_extra/mirrors_used_warning_test.dart ('k') | tests/compiler/dart2js_extra/regress/4562_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698