Home
last modified time | relevance | path

Searched refs:NonConstexpr2 (Results 1 – 2 of 2) sorted by relevance

/external/clang/test/CXX/special/class.ctor/
Dp6-0x.cpp8 struct NonConstexpr2 { // expected-note {{here}} struct
13 constexpr NonConstexpr2 nc2 = NonConstexpr2(); // ok, does not call constructor argument
15 constexpr int nc2_a = NonConstexpr2().nl.a; // ok
19 …friend constexpr NonConstexpr2::NonConstexpr2(); // expected-error {{follows non-constexpr declara…
/external/clang/test/CXX/expr/expr.const/
Dp2-0x.cpp27 struct NonConstexpr2 { struct
28 constexpr NonConstexpr2(); // expected-note {{here}}
33 …int m : NonConstexpr2().n; // expected-error {{constant expression}} expected-note {{undefined con… argument