repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
auto37.C
blob
f4b29046d1d3b71b47a0c01af5c9d8dd3689f664
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;