Home
last modified time | relevance | path

Searched refs:numAllocs (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.constr/
H A DF.pass.cpp124 int numAllocs; variable
133 numAllocs = 0xFFF - throw_one; in test_throwing_new_during_thread_creation()
135 for (int i=0; i <= numAllocs; ++i) { in test_throwing_new_during_thread_creation()
141 assert(i == numAllocs); // Only final iteration will not throw. in test_throwing_new_during_thread_creation()
145 assert(i < numAllocs); in test_throwing_new_during_thread_creation()
179 LIBCPP_ASSERT(numAllocs > 0); // libc++ should call new. in main()
180 if (numAllocs > 0) { in main()