Index: vm/snapshot_test.cc |
=================================================================== |
--- vm/snapshot_test.cc (revision 5763) |
+++ vm/snapshot_test.cc (working copy) |
@@ -779,12 +779,16 @@ |
" Fields(int i, int j) : fld1 = i, fld2 = j {}\n" |
" int fld1;\n" |
" final int fld2;\n" |
+ " final int fld2_1 = 0xfffffffffff;\n" |
cshapiro
2012/03/24 01:48:07
maybe just name these bigintField or something jus
siva
2012/03/24 02:25:03
Done.
|
" static int fld3;\n" |
" static final int fld4 = 10;\n" |
cshapiro
2012/03/24 01:48:07
this could be smiField, etc.
siva
2012/03/24 02:25:03
Done.
|
+ " static final int fld5 = 0xfffffffffff;\n" |
"}\n" |
"class FieldsTest {\n" |
" static Fields testMain() {\n" |
+ " Expect.equals(true, Fields.fld5 == 0xfffffffffff);\n" |
" Fields obj = new Fields(10, 20);\n" |
+ " Expect.equals(true, obj.fld2_1 == 0xfffffffffff);\n" |
" return obj;\n" |
" }\n" |
"}\n"; |