brintos

brintos / llvm-project-archived public Read only

0
0
Text · 276 B · 714fbf4 Raw
17 lines · cpp
1// RUN: %clang_cc1 -verify -fopenmp -fsyntax-only %s2 3// expected-no-diagnostics4 5template <typename T>6struct z {7  static void aj() {8    T f;9#pragma omp target map(f)10    ;11  }12};13 14template <typename> class ar {};15template <int> struct as {};16template class z<ar<as<4>>>;17