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
2012-12-15 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
variadic109.C
1
// PR c++/48292
2
// { dg-options -std=c++0x }
3
4
template <typename... Args> int g(Args...);
5
6
template <int N = 0>
7
struct A
8
{
9
template <typename... Args>
10
static auto f(Args... args) -> decltype(g(args...));
11
};
12
13
int main()
14
{
15
A<>::f();
16
return 0;
17
}