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
/
pr71832.C
blob
3b851110f3c721ec9db59d7428b8b2c862e11296
1
// { dg-do compile { target c++11 } }
2
3
template < typename decltype (0) > struct A // { dg-error "expected|two or more" }
4
{
5
void foo () { baz (); }
6
template < typename ... S > void baz () {}
7
};