You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
486 B
21 lines
486 B
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) {}
|
|
}
|