blob: f6417744f641a312f23f8db800e238255453345e [file] [log] [blame]
// checking for inline member templates
struct A
{
template <class T>
struct AB { };
template <class T>
void foo (T) { }
};
template <class T>
struct B
{
template <class U>
struct BB { };
template <class U>
void foo (U) { }
};
// check that member templates are usable
void foo (A a, A::AB<int> aab, B<int> b, B<char>::BB<int> bbb)
{
a.foo (aab);
b.foo (bbb);
}