Pull from FB rev 63ce89e2f2301e6bba44a111cc7d4218022156f6
[folly.git] / folly / test / function_benchmark / test_functions.cpp
diff --git a/folly/test/function_benchmark/test_functions.cpp b/folly/test/function_benchmark/test_functions.cpp
new file mode 100644 (file)
index 0000000..932ac59
--- /dev/null
@@ -0,0 +1,19 @@
+// Copyright 2004-present Facebook.  All rights reserved.
+#include "folly/test/function_benchmark/test_functions.h"
+
+/*
+ * These functions are defined in a separate file so that
+ * gcc won't be able to inline them.
+ */
+
+void doNothing() {
+}
+
+void TestClass::doNothing() {
+}
+
+VirtualClass::~VirtualClass() {
+}
+
+void VirtualClass::doNothing() {
+};