| 1 |
// PR c++/97804 |
| 2 |
// { dg-do compile { target c++17 } } |
| 3 |
|
| 4 |
template <typename a> struct b { |
| 5 |
constexpr b() : c() {} |
| 6 |
[[no_unique_address]] a c; |
| 7 |
}; |
| 8 |
template <unsigned long, typename...> struct d; |
| 9 |
template <unsigned long e, typename a, typename... f> |
| 10 |
struct d<e, a, f...> : d<1, f...>, b<a> {}; |
| 11 |
template <unsigned long e, typename a> struct d<e, a> : b<a> {}; |
| 12 |
template <typename... g> class h : d<0, g...> {}; |
| 13 |
struct i {}; |
| 14 |
class j { |
| 15 |
using k = int; |
| 16 |
h<k, i> l; |
| 17 |
float m = 0.025f; |
| 18 |
} n; |