[libcxx] Blind attempt to fix harmless leak in nodiscard_extensions.pass.cpp test

libcxx-libcxxabi-x86_64-linux-ubuntu-asan complains about a leak here.

llvm-svn: 342814
This commit is contained in:
Roman Lebedev 2018-09-22 19:09:57 +00:00
parent 8a15c924ae
commit 931d66cd22
1 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@
int main() {
{
std::get_temporary_buffer<int>(1);
const auto p = std::get_temporary_buffer<int>(1);
std::return_temporary_buffer(p.first);
}
}