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
/
variadic156.C
blob
7d3c97d6890b0248e93d5cfd835f02981e67f45b
1
// PR c++/52844
2
// { dg-do compile { target c++11 } }
3
4
template < class > struct V { };
5
template < int...Is > void f ( V < Is...>) { } // { dg-error "mismatch|type" }
6
auto g ( ) -> decltype ( f ( V < long > ( ) ) ) ; // { dg-error "matching" }