PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / nontype24.C
blob57fbe430e1c9c165b62b0117d7d2b44c5eb2d7d1
1 // PR c++/49808
3 template <class X, X g>
4 struct A
6   A() { float r = g(0); }
7 };
9 struct f_t
11   float operator() (float) const { return 1; }
14 f_t f;
16 A<f_t&, f> x;