commit | 5428c6b9d64dd4cc65fd5665c977c11dc6f8a547 | [log] [tgz] |
---|---|---|
author | Billy Robert O'Neal III <bion@microsoft.com> | Wed Aug 08 04:24:47 2018 +0000 |
committer | Billy Robert O'Neal III <bion@microsoft.com> | Wed Aug 08 04:24:47 2018 +0000 |
tree | 051bdd008288684b17e91d60fff484ca96488c29 | |
parent | d39a48c04ba631f17f3de54196a91e59cc9a6051 [diff] |
[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
diff --git a/test/std/containers/container.node/node_handle.pass.cpp b/test/std/containers/container.node/node_handle.pass.cpp index 6314ec1..1c815a4 100644 --- a/test/std/containers/container.node/node_handle.pass.cpp +++ b/test/std/containers/container.node/node_handle.pass.cpp
@@ -121,10 +121,12 @@ 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()