gcc/testsuite/g++.dg/goacc/cache-1.C
raw| 1 | /* OpenACC 'cache' directive: valid usage. */ |
| 2 | |
| 3 | /* See also corresponding C/C++ variant '../../c-c++-common/goacc/cache-1.c'. */ |
| 4 | |
| 5 | /* For execution testing, this file is '#include'd from |
| 6 | '../../../../libgomp/testsuite/libgomp.oacc-c++/cache-1.C'. */ |
| 7 | |
| 8 | #define TEMPLATIZE |
| 9 | #include "../../c-c++-common/goacc/cache-1.c" |
| 10 | |
| 11 | static void |
| 12 | instantiate () |
| 13 | { |
| 14 | &test<0>; |
| 15 | } |