rt_gccstream/gcc/testsuite/g++.dg/cpp0x/vt-34051.C

13 lines
177 B
C

// { dg-options "-std=c++0x" }
struct A
{
operator int();
};
template <typename... T> struct B : A
{
using A::operator T; // { dg-error "parameter packs|T" }
};
B<int> b;