// RUN: %clang_cc1 -triple x86_64 -fopenmp -verify %s // FIXME: Is this supposed to work? #pragma omp begin declare variant match(implementation={extension(allow_templates)}) template void f(T) {} // expected-note@-1 {{explicit instantiation refers here}} #pragma end template struct A {}; template A f() = delete; template void f(float); // expected-error@-1 {{explicit instantiation of undefined function template 'f'}}