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
rs6000: Add TARGET_FLOAT128_HW guard for quad-precision insns
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic106.C
blob
efa4c34cd8500d4204ea27ef231f751c49361a9c
1
// Origin: PR c++/47326
2
// { dg-do compile { target c++11 } }
3
4
template <int _N>
5
struct A
6
{
7
typedef int value_type;
8
};
9
10
template <typename... _ARGS>
11
auto
12
f (_ARGS... args) -> typename A<sizeof...(args)>::value_type
13
{
14
return 12;
15
}
16
17
int
18
main()
19
{
20
f(1,2);
21
}