diff options
Diffstat (limited to 'libcxx/test/thread/thread.threads/thread.thread.this/get_id.pass.cpp')
| -rw-r--r-- | libcxx/test/thread/thread.threads/thread.thread.this/get_id.pass.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/libcxx/test/thread/thread.threads/thread.thread.this/get_id.pass.cpp b/libcxx/test/thread/thread.threads/thread.thread.this/get_id.pass.cpp deleted file mode 100644 index ef6615b3fe37..000000000000 --- a/libcxx/test/thread/thread.threads/thread.thread.this/get_id.pass.cpp +++ /dev/null @@ -1,21 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -// <thread> - -// thread::id this_thread::get_id(); - -#include <thread> -#include <cassert> - -int main() -{ - std::thread::id id = std::this_thread::get_id(); - assert(id != std::thread::id()); -} |
