☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto37.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/auto37.C
code
plain
raw
1
// PR c++/55003
2
// { dg-do compile { target c++11 } }
3
4
template<typename T>
5
struct A {
6
static const auto t
7
= (typename T::type)42;
8
};
9
10
struct X {
11
typedef int type;
12
};
13
14
A<X> a;