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

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

Issue 11316108: Correct file names for tests in tests/language. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: fixed status Created 8 years 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 | « no previous file | tests/language/allocate_large_object_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
(Empty)
1 // Copyright (c) 2011, 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 file.
4
5 class A {
6 int a;
7 double d1;
8 double d2;
9 double d3;
10 double d4;
11 double d5;
12 double d6;
13 double d7;
14 double d8;
15 double d9;
16 double d10;
17 double d11;
18 double d12;
19 double d13;
20 double d14;
21 static var s;
22
23 static foo() {
24 return s;
25 }
26
27 A(this.a) { }
28
29 value() {
30 return a + foo();
31 }
32 }
33
34 class AllocateLargeObject {
35 static testMain() {
36 var a = new A(1);
37 A.s = 4;
38 Expect.equals(5, a.value());
39 }
40 }
41
42 main() {
43 AllocateLargeObject.testMain();
44 }
OLDNEW
« no previous file with comments | « no previous file | tests/language/allocate_large_object_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698