1 // RUN: %gdb-compile 2>&1 | tee %t.compile
2 // RUN: %gdb-test -x %s.cmd %t 2>&1 | tee %t.out | FileCheck %s
6 int get_fib_num(int num
) {
11 #pragma omp task shared(t1)
12 t1
= get_fib_num(num
- 1);
13 #pragma omp task shared(t2)
14 t2
= get_fib_num(num
- 2);
22 omp_set_num_threads(2);
24 { ret
= get_fib_num(10); }
25 printf("Fib of 10 is %d", ret
);