1 // RUN: %gdb-compile 2>&1 | tee %t.compile
2 // RUN: %gdb-test -x %s.cmd %t 2>&1 | tee %t.out | FileCheck %s
8 omp_set_num_threads(4);
11 printf("Parallel level 1, thread num = %d.\n", omp_get_thread_num());
12 omp_set_num_threads(3);
14 { printf("Parallel level 2, thread num = %d", omp_get_thread_num()); }