Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/decltype56.C

raw
1 // PR c++/52816
2 // { dg-do compile { target c++11 } }
3
4 class c {
5 int f;
6 public:
7 template <typename A>
8 decltype(f) m(A) const;
9 };
10
11 decltype(c{}.m(0)) i;