libcxx

libcxx mirror with random patches
git clone https://git.neptards.moe/neptards/libcxx.git
Log | Files | Refs

link_main_test.cc (177B)


      1 #include "benchmark/benchmark.h"
      2 
      3 void BM_empty(benchmark::State& state) {
      4   for (auto _ : state) {
      5     benchmark::DoNotOptimize(state.iterations());
      6   }
      7 }
      8 BENCHMARK(BM_empty);