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
Clean up some minor white space issues in trans-decl.c and trans-expr.c
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
tmpl-outside2.C
blob
21f1ac04fbe59aecd22bebd9d31ae56a081fad3c
1
// PR c++/50080
2
3
template <typename T>
4
struct A
5
{
6
template <typename U>
7
struct B {};
8
};
9
10
template <typename T>
11
void test()
12
{
13
typename A<T>::template B<int> b;
14
}
15
16
int main()
17
{
18
typename A<double>::template B<int> b; // { dg-error "template|expected" "" { target { ! c++11 } } }
19
}