aboutsummaryrefslogtreecommitdiff
path: root/test/std/containers/container.node/node_handle.pass.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-01-19 10:05:35 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-01-19 10:05:35 +0000
commit6012fe9abb1f01b1b5b4ca908464804c21ff8602 (patch)
treea5232179237d9aaa3a03f9c783974fc5f09716c6 /test/std/containers/container.node/node_handle.pass.cpp
parent315d10f09ee888005b1da55e7bbb57d8a79b8447 (diff)
Notes
Diffstat (limited to 'test/std/containers/container.node/node_handle.pass.cpp')
-rw-r--r--test/std/containers/container.node/node_handle.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/std/containers/container.node/node_handle.pass.cpp b/test/std/containers/container.node/node_handle.pass.cpp
index 6314ec1fb771a..1c815a4682dd6 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 @@ 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()