sleep_for_tested_elsewhere.pass.cpp 718 B

1234567891011121314151617181920212223
  1. // -*- C++ -*-
  2. //===----------------------------------------------------------------------===//
  3. //
  4. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  5. // See https://llvm.org/LICENSE.txt for license information.
  6. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  7. //
  8. //===----------------------------------------------------------------------===//
  9. // <thread>
  10. // template <class Rep, class Period>
  11. // void sleep_for(const chrono::duration<Rep, Period>& rel_time);
  12. // The std::this_thread::sleep_for test requires POSIX specific headers and
  13. // is therefore non-standard. For this reason the test lives under the 'libcxx'
  14. // subdirectory.
  15. int main(int, char**)
  16. {
  17. return 0;
  18. }