bbc79c0e9e
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
9 lines
227 B
C
9 lines
227 B
C
// Templated routine with "auto" return type.
|
|
|
|
// { dg-additional-options "-fno-exceptions" }
|
|
|
|
#define TEMPLATE template<typename TYPE>
|
|
#define RETURN_1 auto
|
|
#define RETURN_2
|
|
#include "../libgomp.oacc-c-c++-common/routine-1.c"
|