1/*
2 * Copyright 2018-present Facebook, Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include <folly/container/F14Map-fwd.h>
18#include <folly/container/F14Set-fwd.h>
19#include <folly/portability/GTest.h>
20
21namespace {
22template <typename TContainer>
23void foo(TContainer*) {}
24} // namespace
25
26TEST(F14Fwd, simple) {
27 using namespace folly;
28 foo<F14NodeMap<int, int>>(nullptr);
29 foo<F14ValueMap<int, int>>(nullptr);
30 foo<F14VectorMap<int, int>>(nullptr);
31 foo<F14FastMap<int, int>>(nullptr);
32
33 foo<F14NodeSet<int>>(nullptr);
34 foo<F14ValueSet<int>>(nullptr);
35 foo<F14VectorSet<int>>(nullptr);
36 foo<F14FastSet<int>>(nullptr);
37}
38