PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / ptrmem10.C
blobb76d5e80a5afce110f9fc55650f6cb8c5db38bc7
1 // PR c++/15096
3 template <typename T_>
4 class C1
6 public:
7     C1 ();
8     ~C1 ();
9     const int C1<T_>::* getPtr () const;
11 private:
12     int x;
13     T_ y;
17 template <typename T_>
18 const int C1<T_>::* C1<T_>::getPtr () const
19 { return &C1<T_>::x; }