From: Billy Robert O'Neal III Date: Wed, 8 Aug 2018 04:24:47 +0000 (+0000) Subject: [libcxx] [test] Avoid -Wunused-local-typedef in node_handle.pass.cpp. X-Git-Tag: llvmorg-8.0.0-rc1~11475 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77e898cbd0015693da5eda3f942eb3a9a4b00494;p=platform%2Fupstream%2Fllvm.git [libcxx] [test] Avoid -Wunused-local-typedef in node_handle.pass.cpp. llvm-svn: 339218 --- diff --git a/libcxx/test/std/containers/container.node/node_handle.pass.cpp b/libcxx/test/std/containers/container.node/node_handle.pass.cpp index 6314ec1fb771..1c815a4682dd 100644 --- a/libcxx/test/std/containers/container.node/node_handle.pass.cpp +++ b/libcxx/test/std/containers/container.node/node_handle.pass.cpp @@ -121,10 +121,12 @@ void test_node_handle_operations_multi() assert(nt2.empty()); } +template void test_typedef() {} + template void test_insert_return_type() { - using irt_type = typename Container::insert_return_type; + test_typedef(); } int main()