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-34755.C
blob
3ef089db96b504ba6508abba092ef99358e3d13e
1
// { dg-do compile { target c++11 } }
2
template<typename> struct A {};
3
4
template<template<typename> class... T> void foo(T<int>) {} // { dg-error "not expanded|T" }
5
6
template void foo<A>(A<int>); // { dg-error "does not match" }