[RISCV] Add shrinkwrap test cases showing gaps in current impl
[llvm-project.git] / clang / test / SemaTemplate / function-pointer-qualifier.cpp
blob97d160738a28230599aa34b9564fc1c2813d9de6
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 template<class _Ty> inline
5 void testparam(_Ty **, _Ty **)
9 template<class _Ty> inline
10 void testparam(_Ty *const *, _Ty **)
14 template<class _Ty> inline
15 void testparam(_Ty **, const _Ty **)
19 template<class _Ty> inline
20 void testparam(_Ty *const *, const _Ty **)
24 void case0()
26 void (**p1)();
27 void (**p2)();
28 testparam(p1, p2);