[X86] Move getGFNICtrlMask before CTLZ/CTTZ lowering. NFC.
[llvm-project.git] / clang / test / SemaCXX / template-ambiguous-overload.cpp
blobbbb7e397b844c6665165d2dbd3e3bebc8b7a4814
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 namespace n {
4 template <int>
5 void f(); // expected-note{{explicit instantiation candidate function 'n::f<0>' template here [with $0 = 0]}}
7 extern template void f<0>();
10 using namespace n;
12 template <int>
13 void f() {} // expected-note{{explicit instantiation candidate function 'f<0>' template here [with $0 = 0]}}
15 template void f<0>(); // expected-error{{partial ordering for explicit instantiation of 'f' is ambiguous}}