Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/decltype20.C

raw
1 // PR c++/42277
2 // { dg-do compile { target c++11 } }
3
4 struct S { int s; };
5 template <int N>
6 void foo ()
7 {
8 S s;
9 decltype (s.s) i;
10 }