Searched refs:NonConstexpr2 (Results 1 – 2 of 2) sorted by relevance
8 struct NonConstexpr2 { // expected-note {{here}} struct13 constexpr NonConstexpr2 nc2 = NonConstexpr2(); // ok, does not call constructor argument15 constexpr int nc2_a = NonConstexpr2().nl.a; // ok19 …friend constexpr NonConstexpr2::NonConstexpr2(); // expected-error {{follows non-constexpr declara…
27 struct NonConstexpr2 { struct28 constexpr NonConstexpr2(); // expected-note {{here}}33 …int m : NonConstexpr2().n; // expected-error {{constant expression}} expected-note {{undefined con… argument