blob: 6be32b581b21bccbb60ff13f4875f709bca8c7dc [file] [log] [blame]
// Origin PR c++/45625
// { dg-do compile }
struct Outer
{
static const int value = 1 ;
template< int value >
struct Inner
{
static const int*
get_value()
{
return &value ;// { dg-error "lvalue required" }
}
};
};
template class Outer::Inner<2>;