aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.1/gcc/testsuite/gcc.dg/gomp/pr35751.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.1/gcc/testsuite/gcc.dg/gomp/pr35751.c')
-rw-r--r--gcc-4.8.1/gcc/testsuite/gcc.dg/gomp/pr35751.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/gcc-4.8.1/gcc/testsuite/gcc.dg/gomp/pr35751.c b/gcc-4.8.1/gcc/testsuite/gcc.dg/gomp/pr35751.c
deleted file mode 100644
index f7777a5b7..000000000
--- a/gcc-4.8.1/gcc/testsuite/gcc.dg/gomp/pr35751.c
+++ /dev/null
@@ -1,34 +0,0 @@
-/* PR c/35751 */
-/* { dg-do compile } */
-/* { dg-options "-fopenmp" } */
-
-void
-foo (int i)
-{
- extern int a[i]; /* { dg-error "must have no linkage|storage size of" } */
- static int b[i]; /* { dg-error "storage size of" } */
-
-#pragma omp parallel
- {
- a[0] = 0;
- b[0] = 0;
- }
-
-#pragma omp parallel shared (a, b)
- {
- a[0] = 0;
- b[0] = 0;
- }
-
-#pragma omp parallel private (a, b)
- {
- a[0] = 0;
- b[0] = 0;
- }
-
-#pragma omp parallel firstprivate (a, b)
- {
- a[0] = 0;
- b[0] = 0;
- }
-}