summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gfortran.dg/goacc/cache-2.f95
blob: be8187885563ef472d9e134d8404addac903ba89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
! OpenACC cache directive: invalid usage.
! { dg-additional-options "-std=f2008" }

program test
  implicit none
  integer :: i, d(10), e(5,13)

  do concurrent (i=1:5)
    !$acc cache (d) ! { dg-error "" "TODO" { xfail *-*-* } }
    !$acc cache (e) ! { dg-error "" "TODO" { xfail *-*-* } }
  enddo
end