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
PR c++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic-ex2.C
blob
a887e339848c3f61ae25d1cc511fe8106cdd0c1d
1
// { dg-do compile { target c++11 } }
2
template<class... Types> struct B { // { dg-message "declaration of" }
3
void f3();
4
void f4();
5
};
6
7
template<class... Types> void B<Types...>::f3() { } // OK
8
template<class... Types> void B<Types>::f4() { } // { dg-error "invalid" }