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

Side by Side Diff: tests/language/pseudo_kw_illegal_test.dart

Issue 10248007: test rename overhaul: step 8 - language tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « tests/language/property_field_override_test.dart ('k') | tests/language/pseudo_kw_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // Check that we cannot use a pseudo keyword at the class level code. 4 // Check that we cannot use a pseudo keyword at the class level code.
5 5
6 // Pseudo keywords are not allowed to be used as class names. 6 // Pseudo keywords are not allowed to be used as class names.
7 class abstract { } /// 01: compile-time error 7 class abstract { } /// 01: compile-time error
8 class assert { } /// 02: compile-time error 8 class assert { } /// 02: compile-time error
9 class call { } /// 03: compile-time error 9 class call { } /// 03: compile-time error
10 class Dynamic { } /// 04: compile-time error 10 class Dynamic { } /// 04: compile-time error
11 class factory { } /// 05: compile-time error 11 class factory { } /// 05: compile-time error
12 class get { } /// 06: compile-time error 12 class get { } /// 06: compile-time error
13 class implements { } /// 07: compile-time error 13 class implements { } /// 07: compile-time error
14 class import { } /// 08: compile-time error 14 class import { } /// 08: compile-time error
15 class interface { } /// 09: compile-time error 15 class interface { } /// 09: compile-time error
16 class library { } /// 10: compile-time error 16 class library { } /// 10: compile-time error
17 class negate { } /// 11: compile-time error 17 class negate { } /// 11: compile-time error
18 class operator { } /// 12: compile-time error 18 class operator { } /// 12: compile-time error
19 class set { } /// 13: compile-time error 19 class set { } /// 13: compile-time error
20 class source { } /// 14: compile-time error 20 class source { } /// 14: compile-time error
21 class static { } /// 15: compile-time error 21 class static { } /// 15: compile-time error
22 class typedef { } /// 16: compile-time error 22 class typedef { } /// 16: compile-time error
23 23
24 main() { } 24 main() { }
OLDNEW
« no previous file with comments | « tests/language/property_field_override_test.dart ('k') | tests/language/pseudo_kw_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698