Index: runtime/vm/snapshot_test.cc |
diff --git a/runtime/vm/snapshot_test.cc b/runtime/vm/snapshot_test.cc |
index db655025eaa3f3313213c38a6599e3d4686b4bc3..da55350f5073bba9c81d28be0f9bc204a79e9128 100644 |
--- a/runtime/vm/snapshot_test.cc |
+++ b/runtime/vm/snapshot_test.cc |
@@ -911,6 +911,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 Error('not equal');\n" |
+ " }\n" |
+ "}\n" |
"class FieldsTest {\n" |
" static Fields testMain() {\n" |
" Expect.equals(true, Fields.bigint_sfld == 0xfffffffffff);\n" |