summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/containers/container.node/node_handle.pass.cpp
diff options
context:
space:
mode:
authorBilly Robert O'Neal III <bion@microsoft.com>2018-08-08 04:24:47 +0000
committerBilly Robert O'Neal III <bion@microsoft.com>2018-08-08 04:24:47 +0000
commit77e898cbd0015693da5eda3f942eb3a9a4b00494 (patch)
treed4ff2f5d895bdcfcf4efcc8fc6f975e6302bc166 /libcxx/test/std/containers/container.node/node_handle.pass.cpp
parent8284d328baf74ab811c241cac41e43554c8bd58c (diff)
downloadbcm5719-llvm-77e898cbd0015693da5eda3f942eb3a9a4b00494.tar.gz
bcm5719-llvm-77e898cbd0015693da5eda3f942eb3a9a4b00494.zip
[libcxx] [test] Avoid -Wunused-local-typedef in node_handle.pass.cpp.
llvm-svn: 339218
Diffstat (limited to 'libcxx/test/std/containers/container.node/node_handle.pass.cpp')
-rw-r--r--libcxx/test/std/containers/container.node/node_handle.pass.cpp4
1 files changed, 3 insertions, 1 deletions
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 6314ec1fb77..1c815a4682d 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 <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()
OpenPOWER on IntegriCloud