gcc/libgomp/testsuite/libgomp.oacc-c++/cache-1.C
Thomas Schwinge 0cab70604c Fix templatized C++ OpenACC 'cache' directive ICEs
This has been broken forever, whoops...

	gcc/cp/
	* pt.c (tsubst_omp_clauses): Handle 'OMP_CLAUSE__CACHE_'.
	(tsubst_expr): Handle 'OACC_CACHE'.
	gcc/testsuite/
	* c-c++-common/goacc/cache-1.c: Update.
	* c-c++-common/goacc/cache-2.c: Likewise.
	* g++.dg/goacc/cache-1.C: New.
	* g++.dg/goacc/cache-2.C: Likewise.
	libgomp/
	* testsuite/libgomp.oacc-c++/cache-1.C: New.
	* testsuite/libgomp.oacc-c-c++-common/cache-1.c: Update.
2020-11-25 19:57:39 +01:00

14 lines
245 B
C

/* OpenACC 'cache' directive. */
/* See also corresponding C/C++ variant '../libgomp.oacc-c-c++-common/cache-1.c'. */
#include "../../../gcc/testsuite/g++.dg/goacc/cache-1.C"
int
main (int argc, char *argv[])
{
test<0> ();
return 0;
}