1 // PR c++/87603
2 // { dg-do compile { target c++14 } }
3 
4 template<typename T>
5 struct basic_string_view
6 {
basic_string_viewbasic_string_view7   constexpr basic_string_view(T p) noexcept { (void) p.i; }
8 };
9 
10 struct X { } x;
11 
12 bool b = noexcept(basic_string_view<X>{x});
13