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
2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash48.C
blob
6aa3aa3ed26b4cc66452b89c282336d5dfe858e3
1
// PR c++/11471
2
// Origin: <bagnara@cs.unipr.it>
3
// { dg-do compile }
4
5
template<typename T> struct A
6
{
7
typedef typename T::X X;
8
};
9
10
template<typename T> A<T>::X::X() {} // { dg-error "no type|invalid use|not a type|dependent" }