Searched refs:ncc1 (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/CXX/special/class.copy/
H A Dp13-0x.cpp40 constexpr NonConstexprCopy ncc1 = NonConstexprCopy(NonConstexprCopy()); // ok variable
41 constexpr NonConstexprCopy ncc2 = ncc1; // expected-error {{constant expression}} expected-note {{non-constexpr constructor}}

Completed in 40 milliseconds