aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/goacc/cache-1.f95
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gfortran.dg/goacc/cache-1.f95')
-rw-r--r--gcc/testsuite/gfortran.dg/goacc/cache-1.f9512
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gfortran.dg/goacc/cache-1.f95 b/gcc/testsuite/gfortran.dg/goacc/cache-1.f95
new file mode 100644
index 0000000..746cf02
--- /dev/null
+++ b/gcc/testsuite/gfortran.dg/goacc/cache-1.f95
@@ -0,0 +1,12 @@
+! { dg-do compile }
+! { dg-additional-options "-std=f2008" }
+
+program test
+ implicit none
+ integer :: i, d(10)
+
+ do concurrent (i=1:5)
+ !$acc cache (d)
+ enddo
+end
+! { dg-prune-output "unimplemented" }