openacc: Tests for character types in derived-type mappings
authorJulian Brown <julian@codesourcery.com>
Thu, 4 Feb 2021 18:13:22 +0000 (10:13 -0800)
committerJulian Brown <julian@codesourcery.com>
Thu, 4 Feb 2021 23:06:56 +0000 (15:06 -0800)
commitb2d84e9f9cccbe4ee662f7002b83105629d09939
tree4f10e25bff220061beeb2866c616839cf6066607
parent9a4d32f85ccebc0ee4b24e6d9d7a4f11c04d7146
openacc: Tests for character types in derived-type mappings

This patch adds some tests for character types that are components of
derived types used in OpenACC data-movement clauses.

gcc/testsuite/
* gfortran.dg/goacc/derived-chartypes-1.f90: New test.
* gfortran.dg/goacc/derived-chartypes-2.f90: Likewise.
* gfortran.dg/goacc/derived-chartypes-3.f90: Likewise.
* gfortran.dg/goacc/derived-chartypes-4.f90: Likewise.
gcc/testsuite/gfortran.dg/goacc/derived-chartypes-1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc/derived-chartypes-2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc/derived-chartypes-3.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/goacc/derived-chartypes-4.f90 [new file with mode: 0644]