blob: 41dbac9ab0faf8fee6e7571707553e0d57b308ef [file] [log] [blame]
#include "benchmark/benchmark.h"
namespace {
void BM_empty(benchmark::State& state) {
for (auto _ : state) {
auto iterations = static_cast<double>(state.iterations()) *
static_cast<double>(state.iterations());
benchmark::DoNotOptimize(iterations);
}
}
BENCHMARK(BM_empty);
} // end namespace