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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
tmpl-outside1.C
blob
07c89e25ca62493fcf612c32eac3d8248a15ea88
1
// PR c++/3792
2
// Origin: <david.abrahams@rcn.com>
3
// { dg-do compile }
4
5
struct X
6
{
7
template <int i> struct Y {};
8
};
9
10
typedef X::template Y<0> y; // { dg-error "template" }