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
2013-09-12 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
tmpl-outside2.C
blob
54d39fa88dba944a3e9d4455e1335042188acfaf
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++98 } }
19
}