☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
decltype20.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/decltype20.C
code
plain
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
}