Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
96898eb6a935533aaebbfbd085150fbf705c0ffc
/
.
/
libcxx
/
utils
/
google-benchmark
/
test
/
link_main_test.cc
blob: 241ad5c3905e9f4ca7dfa95f58428c9ba93b9e59 [
file
] [
log
] [
blame
]
#include
"benchmark/benchmark.h"
void
BM_empty
(
benchmark
::
State
&
state
)
{
for
(
auto
_
:
state
)
{
benchmark
::
DoNotOptimize
(
state
.
iterations
());
}
}
BENCHMARK
(
BM_empty
);