1 /* 2 * Copyright (c) 2016, Facebook, Inc. 3 * All rights reserved. 4 * 5 * This source code is licensed under the BSD-style license found in the 6 * LICENSE file in the root directory of this source tree. An additional grant 7 * of patent rights can be found in the PATENTS file in the same directory. 8 */ 9 10 #include <fatal/benchmark/cases.h> 11 #include <fatal/type/list.h> 12 13 template <int> struct foo {}; 14 main()15int main() { 16 using namespace fatal; 17 18 # define WRAP(Value) foo<Value> 19 # define OUTER(...) \ 20 do { \ 21 prevent_optimization(list<__VA_ARGS__>()); \ 22 } while (false) 23 24 FATAL_BENCHMARK_CASES_CSV_OUTER_0_500(OUTER, WRAP); 25 26 return 0; 27 } 28