summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/spec34.C
blob: 6c28e57fb9ff2f143df58b64dbcaf90fb9bdda60 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/26988

struct B{};

struct Bar : virtual B {               
  template <typename T> Bar( T const& cast );
};

template <> Bar::Bar( int const & cast ) {}