aboutsummaryrefslogtreecommitdiff
path: root/libgomp/testsuite/libgomp.c-c++-common/function-not-offloaded-aux.c
blob: b8aa3da48a1160fd043fb1e02608171789b47105 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* { dg-skip-if "" { *-*-* } } */

#pragma omp declare target
extern int var;
#pragma omp end declare target

void __attribute__((noinline, noclone))
foo (void)
{
  var++;
}