aboutsummaryrefslogtreecommitdiff
path: root/clang/test/OpenMP/template-specialization.cpp
blob: 714fbf4a20114cd7d7a18e77435e849d086cbc2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %clang_cc1 -verify -fopenmp -fsyntax-only %s

// expected-no-diagnostics

template <typename T>
struct z {
  static void aj() {
    T f;
#pragma omp target map(f)
    ;
  }
};

template <typename> class ar {};
template <int> struct as {};
template class z<ar<as<4>>>;