]> gcc.gnu.org Git - gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/decltype56.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / decltype56.C
CommitLineData
ae4d1777
PC
1// PR c++/52816
2// { dg-do compile { target c++11 } }
3
4class c {
5 int f;
6 public:
7 template <typename A>
8 decltype(f) m(A) const;
9};
10
11decltype(c{}.m(0)) i;
This page took 4.858943 seconds and 5 git commands to generate.