summaryrefslogtreecommitdiff
path: root/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp')
-rw-r--r--test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp b/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp
index 7fab50081d2a..5879529317ef 100644
--- a/test/std/depr/exception.unexpected/unexpected.handler/unexpected_handler.pass.cpp
+++ b/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);
}