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
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec16.C
blob
881d7a091c299d2a92390a2ca0a646259f67b0fd
1
// { dg-do compile }
2
// Contributed by Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3
// PR c++/14497: Reject specialization without template headers
4
5
template <int N>
6
struct A {
7
template<int M> void B () ;
8
};
9
10
void A<0>::B<0>() { // { dg-error "parameter-lists" }
11
}