summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/empty.c
blob: 6a21c0460eca55d72e33eae8c1b720e16f01b07f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-do compile } */
/* { dg-options "-O -fopenmp -fdump-tree-ompexp" } */

main()
{
#pragma omp parallel
    {;}
}

/* There should not be a GOMP_parallel_start call.  */
/* { dg-final { scan-tree-dump-times "GOMP_parallel_start" 0 "ompexp"} } */
/* { dg-final { cleanup-tree-dump "ompexp" } } */