diff options
Diffstat (limited to 'libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.pass.cpp')
-rw-r--r-- | libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.pass.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.pass.cpp b/libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.pass.cpp index e9fc7b39c01..5d89f369f98 100644 --- a/libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.pass.cpp +++ b/libcxx/test/std/depr/depr.lib.binders/depr.lib.bind.1st/bind1st.pass.cpp @@ -18,7 +18,9 @@ #include "../test_func.h" -int main() +int main(int, char**) { assert(std::bind1st(test_func(1), 5)(10.) == -5.); + + return 0; } |