blob: 85f635a91fbb9e064c900f41375658ecc85e4838 [file] [log] [blame]
// PR c++/71511
// { dg-do compile { target c++11 } }
template < typename T >
class A
{
static int i;
};
//okay: template < typename T > int A <T>::i = 100;
template < typename T > int decltype (A < T > ())::i = 100; // { dg-error "decltype" }