summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/depr/exception.unexpected
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/depr/exception.unexpected')
-rw-r--r--libcxx/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp b/libcxx/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp
index 7fab50081d2..5879529317e 100644
--- a/libcxx/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp
+++ b/libcxx/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp
@@ -16,4 +16,5 @@ void f() {}
int main()
{
std::unexpected_handler p = f;
+ ((void)p);
}
OpenPOWER on IntegriCloud