gcc/testsuite/gcc.dg/debug/dwarf2/pr100515.c
raw| 1 | /* PR debug/100515 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-require-effective-target fopenmp } */ |
| 4 | /* { dg-options "-g -O2 -fopenmp" } */ |
| 5 | |
| 6 | void |
| 7 | foo (int x) |
| 8 | { |
| 9 | #pragma omp taskloop |
| 10 | for (int i = 0; i < x; i++) |
| 11 | ; |
| 12 | } |
| 13 | |
| 14 | void |
| 15 | bar (int x) |
| 16 | { |
| 17 | #pragma omp taskloop |
| 18 | for (int i = 0; i < x; i++) |
| 19 | ; |
| 20 | } |