Index: runtime/vm/snapshot_test.cc |
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc |
index 08b2ab810d0b3cd2666e3d06b738aefeb4d1bb5c..c9a977b24d1e4927536fc3463c8e3f99e58503a8 100644 |
--- a/runtime/vm/snapshot_test.cc |
+++ b/runtime/vm/snapshot_test.cc |
@@ -917,6 +917,11 @@ UNIT_TEST_CASE(FullSnapshot) { |
" static const int smi_sfld = 10;\n" |
" static const int bigint_sfld = 0xfffffffffff;\n" |
"}\n" |
+ "class Expect {\n" |
+ " static void equals(x, y) {\n" |
+ " if (x != y) throw new RuntimeError('not equal');\n" |
+ " }\n" |
+ "}\n" |
"class FieldsTest {\n" |
" static Fields testMain() {\n" |
" Expect.equals(true, Fields.bigint_sfld == 0xfffffffffff);\n" |