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
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
fused-params1.C
blob
adb47a0522ae9f248678a2fc60a9ca208a373361
1
// PR c++/8785
2
// Origin: Alexander Zvyagin <Alexander.Zviagine@cern.ch>
3
// { dg-do compile }
4
5
template <int N,typename T> struct A
6
{ // { dg-error "" }
7
typedef T X;
8
template <int M> void foo (const A<M,X>&);
9
};
10
11
template <int N,int M,typename T>
12
void A<N,T>::foo (const A<M,X>&) {} // { dg-error "" }