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

Unified Diff: tests/language_strong/class_keyword_test.dart

Issue 2774783002: Re-land "Format all 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/language_strong/class_cycle_test.dart ('k') | tests/language_strong/class_override_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/class_keyword_test.dart
diff --git a/tests/language_strong/class_keyword_test.dart b/tests/language_strong/class_keyword_test.dart
index bac7831a72cae573b335b3d68b2cf04ed5ac665b..fc296ed3bac8383f592369c4e872a32b09defc26 100644
--- a/tests/language_strong/class_keyword_test.dart
+++ b/tests/language_strong/class_keyword_test.dart
@@ -5,6 +5,7 @@
// Test that "class" cannot be used as identifier.
class foo {}
+
void main() {
int class = 10; //# 01: compile-time error
print("$class"); //# 02: compile-time error
« no previous file with comments | « tests/language_strong/class_cycle_test.dart ('k') | tests/language_strong/class_override_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698