Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/vt-82936.C

raw
1 // PR c++/82936
2 // { dg-do compile { target c++11 } }
3
4 int fun(int i)
5 {
6 return 0;
7 }
8 template <typename F>
9 struct outer;
10 template <typename R, typename ...Args>
11 struct outer<R(Args...)>
12 {
13 template <R(& f)(Args...)>
14 struct callable
15 {
16 };
17 };
18 outer<int(int)>::callable<fun> f;