HomeSort by relevance Sort by last modified time
    Searched refs:NonConstexpr2 (Results 1 - 2 of 2) sorted by null

  /external/clang/test/CXX/special/class.ctor/
p6-0x.cpp 8 struct NonConstexpr2 { // expected-note {{here}}
13 constexpr NonConstexpr2 nc2 = NonConstexpr2(); // ok, does not call constructor
15 constexpr int nc2_a = NonConstexpr2().nl.a; // ok
19 friend constexpr NonConstexpr2::NonConstexpr2(); // expected-error {{follows non-constexpr declaration}}
  /external/clang/test/CXX/expr/expr.const/
p2-0x.cpp 27 struct NonConstexpr2 {
28 constexpr NonConstexpr2(); // expected-note {{here}}
33 int m : NonConstexpr2().n; // expected-error {{constant expression}} expected-note {{undefined constructor 'NonConstexpr2'}}

Completed in 190 milliseconds