summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gomp/pr30696.C
blob: 8f4f2d9686a77c1f6ea00e77b19147554586fe4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
inline void foo() {}

int main()
{
    foo();

#pragma omp parallel for
    for ( int i=0; i<1; ++i )
        foo();

    return 0;
}