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
/
vt-37737-1.C
blob
c047a1963c99ad195306e9010d09c3ba5c704078
1
// { dg-do compile { target c++11 } }
2
// { dg-prune-output "note" }
3
4
void f() { }
5
6
template<class U, class... T>
7
void f(){ f<T...>(); } // { dg-error "no matching" }
8
9
int main()
10
{
11
f<char>();
12
}