gcc/libgomp/testsuite/libgomp.oacc-c++/routine-1-auto.C
Thomas Schwinge bbc79c0e9e C++ OpenACC routine directive testing: templated, and "auto", trailing return type syntax
libgomp/
	* testsuite/libgomp.oacc-c++/routine-1-auto.C: New file.
	* testsuite/libgomp.oacc-c++/routine-1-template-auto.C: Likewise.
	* testsuite/libgomp.oacc-c++/routine-1-template-trailing-return-type.C:
	Likewise.
	* testsuite/libgomp.oacc-c++/routine-1-template.C: Likewise.
	* testsuite/libgomp.oacc-c++/routine-1-trailing-return-type.C:
	Likewise.
	* testsuite/libgomp.oacc-c-c++-common/routine-1.c: Adjust.

From-SVN: r239126
2016-08-04 15:35:10 +02:00

10 lines
210 B
C

// Routine with "auto" return type.
// { dg-additional-options "-fno-exceptions" }
#define TEMPLATE
#define TYPE int
#define RETURN_1 auto
#define RETURN_2
#include "../libgomp.oacc-c-c++-common/routine-1.c"