diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/gomp/pr25874.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/gomp/pr25874.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.dg/gomp/pr25874.c b/gcc/testsuite/gcc.dg/gomp/pr25874.c new file mode 100644 index 00000000000..568e1f04f88 --- /dev/null +++ b/gcc/testsuite/gcc.dg/gomp/pr25874.c @@ -0,0 +1,15 @@ +void foo(); + +inline void bar() +{ + int i; + for ( i=0; i<1; ++i ) +#pragma omp parallel + foo(); +} + +void baz() +{ +#pragma omp parallel + bar(); +} |