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
/
variadic-mangle1.C
blob
51f9581c6d105ce97ce1d9c9878f8dd5067a8aa5
1
// Test for sZ mangling.
2
// { dg-do compile { target c++11 } }
3
// { dg-final { scan-assembler "_Z1fIJidEEv1AIXsZT_EE" } }
4
5
template <int I> struct A { };
6
template <typename... Ts> void f(A<sizeof...(Ts)>);
7
8
int main()
9
{
10
f<int,double>(A<2>());
11
}