libgomp/testsuite/libgomp.oacc-c++/firstprivate-mappings-1.C
raw| 1 | /* Verify OpenACC 'firstprivate' mappings for C++ reference types. */ |
| 2 | |
| 3 | /* PR middle-end/48591 */ |
| 4 | /* PR other/71064 */ |
| 5 | /* Set to 0 for offloading targets not supporting long double. */ |
| 6 | #if defined(ACC_DEVICE_TYPE_nvidia) || defined(ACC_DEVICE_TYPE_radeon) |
| 7 | # define DO_LONG_DOUBLE 0 |
| 8 | #else |
| 9 | # define DO_LONG_DOUBLE 1 |
| 10 | #endif |
| 11 | |
| 12 | #include "../../../gcc/testsuite/g++.dg/goacc/firstprivate-mappings-1.C" |