[libcxx] [test] Avoid -Wunused-local-typedef in node_handle.pass.cpp.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@339218 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Billy Robert O'Neal III
2018-08-08 04:24:47 +00:00
parent d39a48c04b
commit 5428c6b9d6

View File

@@ -121,10 +121,12 @@ void test_node_handle_operations_multi()
assert(nt2.empty());
}
template <class> void test_typedef() {}
template <class Container>
void test_insert_return_type()
{
using irt_type = typename Container::insert_return_type;
test_typedef<typename Container::insert_return_type>();
}
int main()