diff --git a/test cases/fortran/13 coarray/meson.build b/test cases/fortran/13 coarray/meson.build index 3160aa6b0..e1fb34bd6 100644 --- a/test cases/fortran/13 coarray/meson.build +++ b/test cases/fortran/13 coarray/meson.build @@ -1,6 +1,13 @@ project('Fortran coarray', 'fortran', meson_version: '>=0.50') +fc = meson.get_compiler('fortran') +fcid = fc.get_id() + +if fcid == 'pgi' or fcid == 'flang' + error('MESON_SKIP_TEST: At least through: PGI 19.4 and Flang 7.0 do not support Fortran Coarrays.') +endif + # coarray is required because single-image fallback is an intrinsic feature coarray = dependency('coarray', required : true)