libcxx

libcxx mirror with random patches
git clone https://git.neptards.moe/neptards/libcxx.git
Log | Files | Refs

sleep_for_tested_elsewhere.pass.cpp (681B)


      1 // -*- C++ -*-
      2 //===----------------------------------------------------------------------===//
      3 //
      4 //                     The LLVM Compiler Infrastructure
      5 //
      6 // This file is dual licensed under the MIT and the University of Illinois Open
      7 // Source Licenses. See LICENSE.TXT for details.
      8 //
      9 //===----------------------------------------------------------------------===//
     10 
     11 // <thread>
     12 
     13 // template <class Rep, class Period>
     14 //   void sleep_for(const chrono::duration<Rep, Period>& rel_time);
     15 
     16 // The std::this_thread::sleep_for test requires POSIX specific headers and
     17 // is therefore non-standard. For this reason the test lives under the 'libcxx'
     18 // subdirectory.
     19 
     20 int main()
     21 {
     22 }