| 1 | //===----------------------------------------------------------------------===// |
| 2 | // |
| 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | // UNSUPPORTED: c++03, c++11, c++14, c++17 |
| 10 | |
| 11 | #include <list> |
| 12 | #include <string> |
| 13 | |
| 14 | #include "sequence_container_benchmarks.h" |
| 15 | #include "benchmark/benchmark.h" |
| 16 | |
| 17 | int main(int argc, char** argv) { |
| 18 | support::sequence_container_benchmarks<std::list<int>>("std::list<int>" ); |
| 19 | support::sequence_container_benchmarks<std::list<std::string>>("std::list<std::string>" ); |
| 20 | |
| 21 | benchmark::Initialize(&argc, argv); |
| 22 | benchmark::RunSpecifiedBenchmarks(); |
| 23 | benchmark::Shutdown(); |
| 24 | return 0; |
| 25 | } |
| 26 | |