blob: bcc41f3416452c53ce66e791ac71dd4b2c17dac0 [file] [log] [blame]
// RUN: %gdb-compile 2>&1 | tee %t.compile
// RUN: %gdb-test -x %s.cmd %t 2>&1 | tee %t.out \
// RUN: | FileCheck -check-prefix=CMD %s
// RUN: %gdb-test -x %s.cmd2 %t 2>&1 | tee %t.out2 | FileCheck %s
#include <omp.h>
#include <stdio.h>
int main() {
omp_set_num_threads(2);
#pragma omp parallel
{ printf("Parallel level 1, thread num = %d.\n", omp_get_thread_num()); }
return 0;
}
// CMD: Return code is stale_handle
// CHECK-NOT: Failed
// CHECK-NOT: Skip