summaryrefslogtreecommitdiffhomepage
path: root/bench/00-noop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/00-noop.cpp')
-rw-r--r--bench/00-noop.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/bench/00-noop.cpp b/bench/00-noop.cpp
new file mode 100644
index 00000000..ca84944a
--- /dev/null
+++ b/bench/00-noop.cpp
@@ -0,0 +1,15 @@
+#include <benchmark/benchmark.h>
+
+#if 0
+namespace {
+
+void noop(benchmark::State& state)
+{
+ for (auto _ : state)
+ (void)0;
+}
+
+BENCHMARK(noop);
+
+} // namespace
+#endif