summaryrefslogtreecommitdiff
path: root/src/heap_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/heap_test.cc')
-rw-r--r--src/heap_test.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/heap_test.cc b/src/heap_test.cc
new file mode 100644
index 0000000000..568ddd2830
--- /dev/null
+++ b/src/heap_test.cc
@@ -0,0 +1,14 @@
+// Copyright 2011 Google Inc. All Rights Reserved.
+
+#include "common_test.h"
+
+namespace art {
+
+class HeapTest : public CommonTest {};
+
+TEST_F(HeapTest, GarbageCollectClassLinkerInit) {
+ // garbage is created during ClassLinker::Init
+ Heap::CollectGarbage();
+}
+
+} // namespace art