| 1 |
// RUN: %clang_cc1 -verify -fopenmp -fsyntax-only %s |
| 2 |
|
| 3 |
// expected-no-diagnostics |
| 4 |
|
| 5 |
template <typename T> |
| 6 |
struct z { |
| 7 |
static void aj() { |
| 8 |
T f; |
| 9 |
#pragma omp target map(f) |
| 10 |
; |
| 11 |
} |
| 12 |
}; |
| 13 |
|
| 14 |
template <typename> class ar {}; |
| 15 |
template <int> struct as {}; |
| 16 |
template class z<ar<as<4>>>; |