llvm-for-llvmta/tools/clang/test/Modules/Inputs/merge-template-pattern-visi.../b.h

21 lines
486 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
template<typename, typename = int> struct A;
template<typename T> struct B;
template<typename, typename> struct A {};
template<typename T> struct B : A<T> {};
template<typename T> inline auto C(T) {}
inline void f() {
B<int> bi;
C(0);
}
namespace CrossModuleMerge {
template<typename, typename = int> struct A;
template<typename T> struct B;
template<typename, typename> struct A {};
template<typename T> struct B : A<T> {};
template<typename T> inline auto C(T) {}
}