aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/debug/dwarf2/pr100515.c
blob: 17f6463cc6e9a611fc2b92a02077f126701c3fe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* PR debug/100515 */
/* { dg-do compile } */
/* { dg-require-effective-target fopenmp } */
/* { dg-options "-g -O2 -fopenmp" } */

void
foo (int x)
{
#pragma omp taskloop
  for (int i = 0; i < x; i++)
    ;
}

void
bar (int x)
{
#pragma omp taskloop
  for (int i = 0; i < x; i++)
    ;
}