diff options
Diffstat (limited to 'gcc-4.6/libgomp/testsuite/libgomp.c/pr49898-1.c')
| -rw-r--r-- | gcc-4.6/libgomp/testsuite/libgomp.c/pr49898-1.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gcc-4.6/libgomp/testsuite/libgomp.c/pr49898-1.c b/gcc-4.6/libgomp/testsuite/libgomp.c/pr49898-1.c deleted file mode 100644 index 175426d40..000000000 --- a/gcc-4.6/libgomp/testsuite/libgomp.c/pr49898-1.c +++ /dev/null @@ -1,26 +0,0 @@ -/* PR middle-end/49898 */ -/* { dg-do run } */ - -extern void abort (void); - -int -main () -{ - int i, j, sum = 0; -#pragma omp parallel - { - #pragma omp for reduction(+:sum) - for (i = 0; i < 10; i++) - { - #pragma omp parallel - { - #pragma omp for reduction(+:sum) - for (j = 0; j < 10; j++) - sum += j; - } - } - } - if (sum != 450) - abort (); - return 0; -} |
