diff options
Diffstat (limited to 'libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/copy.fail.cpp')
-rw-r--r-- | libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/copy.fail.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/copy.fail.cpp b/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/copy.fail.cpp index ca428ffb438..9b7c19a9672 100644 --- a/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/copy.fail.cpp +++ b/libcxx/test/std/thread/thread.mutex/thread.once/thread.once.onceflag/copy.fail.cpp @@ -14,8 +14,10 @@ #include <mutex> -int main() +int main(int, char**) { std::once_flag f; std::once_flag f2(f); + + return 0; } |