blob: 3ecfb7398881ab26dfc0e3530bdf38b09a2d4b87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// PR c++/48292
// { dg-do compile { target c++11 } }
template <typename... Args> int g(Args...);
template <int N = 0>
struct A
{
template <typename... Args>
static auto f(Args... args) -> decltype(g(args...));
};
int main()
{
A<>::f();
return 0;
}
|