summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/vt-34051.C
blob: 88ae56703233634cdb9bcdc8598b68a30e25b85c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { 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;