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-65071.C
blob
727ad790828df172a2d5c23fec10ab7f50f5f706
1
// PR c++/65071
2
// { dg-do compile { target c++11 } }
3
4
template<int> struct S {};
5
6
template<template<int> class... T, int N>
7
S<sizeof...(T)> foo(T<N>...);
8
9
auto x = foo(S<2>{});