[libcxx] r339218 - [libcxx] [test] Avoid -Wunused-local-typedef in node_handle.pass.cpp.
Billy Robert O'Neal III via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 7 21:24:47 PDT 2018
Author: bion
Date: Tue Aug 7 21:24:47 2018
New Revision: 339218
URL: http://llvm.org/viewvc/llvm-project?rev=339218&view=rev
Log:
[libcxx] [test] Avoid -Wunused-local-typedef in node_handle.pass.cpp.
Modified:
libcxx/trunk/test/std/containers/container.node/node_handle.pass.cpp
Modified: libcxx/trunk/test/std/containers/container.node/node_handle.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/container.node/node_handle.pass.cpp?rev=339218&r1=339217&r2=339218&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/container.node/node_handle.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/container.node/node_handle.pass.cpp Tue Aug 7 21:24:47 2018
@@ -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()
More information about the cfe-commits
mailing list