OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Implement C++11 delegating constructors.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic95.C
1
// PR c++/39863
2
// { dg-options -std=c++0x }
3
4
template <typename... T>
5
struct A {};
6
7
template <typename T, typename U>
8
struct S {};
9
10
template <typename... T, typename... U>
11
A< S<T, U>... > f(U... u)
12
{ return A< S<T, U>... >(); }
13
14
int main()
15
{
16
f<int>(0.0);
17
}