blob: 5fb35404288bffad3379da17329b9537d6999c80 [file] [log] [blame]
// PR c++/42277
// { dg-do compile { target c++11 } }
struct S { int s; };
template <int N>
void foo ()
{
S s;
decltype (s.s) i;
}