From 5fd308971d84277e2107c2e7ac4a29386d2e34c1 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sat, 18 Jul 2015 21:17:16 +0000 Subject: Fix warnings in test/std/language.support llvm-svn: 242624 --- .../exception.terminate/terminate.handler/terminate_handler.pass.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcxx/test/std/language.support/support.exception/exception.terminate/terminate.handler') diff --git a/libcxx/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp b/libcxx/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp index 232ce0a5a88..46e212662a2 100644 --- a/libcxx/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp +++ b/libcxx/test/std/language.support/support.exception/exception.terminate/terminate.handler/terminate_handler.pass.cpp @@ -10,10 +10,14 @@ // test terminate_handler #include +#include +#include void f() {} int main() { + static_assert(std::is_same::value, ""); std::terminate_handler p = f; + assert(p == &f); } -- cgit v1.2.3