diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:05:35 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:05:35 +0000 |
commit | 6012fe9abb1f01b1b5b4ca908464804c21ff8602 (patch) | |
tree | a5232179237d9aaa3a03f9c783974fc5f09716c6 /test/std/containers/container.adaptors/queue/queue.defn/emplace.pass.cpp | |
parent | 315d10f09ee888005b1da55e7bbb57d8a79b8447 (diff) |
Vendor import of libc++ trunk r351319 (just before the release_80vendor/libc++/libc++-trunk-r351319
branch point):
https://llvm.org/svn/llvm-project/libcxx/trunk@351319
Notes
Notes:
svn path=/vendor/libc++/dist/; revision=343177
svn path=/vendor/libc++/libc++-trunk-r351319/; revision=343178; tag=vendor/libc++/libc++-trunk-r351319
Diffstat (limited to 'test/std/containers/container.adaptors/queue/queue.defn/emplace.pass.cpp')
-rw-r--r-- | test/std/containers/container.adaptors/queue/queue.defn/emplace.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/std/containers/container.adaptors/queue/queue.defn/emplace.pass.cpp b/test/std/containers/container.adaptors/queue/queue.defn/emplace.pass.cpp index ead9ad0bcdf8..25f6bc76e1aa 100644 --- a/test/std/containers/container.adaptors/queue/queue.defn/emplace.pass.cpp +++ b/test/std/containers/container.adaptors/queue/queue.defn/emplace.pass.cpp @@ -43,9 +43,9 @@ int main() test_return_type<std::queue<int> > (); test_return_type<std::queue<int, std::list<int> > > (); - typedef Emplaceable T; std::queue<Emplaceable> q; #if TEST_STD_VER > 14 + typedef Emplaceable T; T& r1 = q.emplace(1, 2.5); assert(&r1 == &q.back()); T& r2 = q.emplace(2, 3.5); |