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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
too-many-tmpl-args1.C
blob
30c29521e9f4e97c2016e15a6705792cae5c010c
1
// PR c++/9229
2
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
3
// { dg-do compile }
4
5
template <typename T> class A
6
{ // { dg-error "" }
7
struct B;
8
template <typename U> friend typename A<U,void>::B foo(); // { dg-error "" }
9
};
10
11
template class A<int>;