240404.3 · Rename some pthread tests from .cpp to .c. NFC (#21690)
// Copyright 2017 The Emscripten Authors. All rights reserved.
// Emscripten is available under two separate licenses, the MIT license and the
// University of Illinois/NCSA Open Source License. Both these licenses can be
// found in the LICENSE file.
#include <stdio.h>
#include <thread>
int main() {
int x = std::this_thread::get_id() == std::this_thread::get_id();
printf("is this thread the same as this thread? %d\n", x);
}