URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [using22.C] - Rev 801
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/52126
// { dg-do compile }
template <class T> struct Z {};
template<typename T>
struct A
{
struct B : A<T>
{
using A::nonexist; // { dg-error "no members matching" }
};
struct C : A
{
using A::nonexist; // { dg-error "no members matching" }
};
struct D : A<T>
{
using A<T>::nonexist; // { dg-error "no members matching" }
};
struct E : A
{
using A<T>::nonexist; // { dg-error "no members matching" }
};
struct F : Z<T>
{
using Z<T>::nonexist;
};
};
Go to most recent revision | Compare with Previous | Blame | View Log