OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NonLit
(Results
1 - 2
of
2
) sorted by null
/external/clang/test/CXX/class/class.static/class.static.data/
p3.cpp
4
struct
NonLit
{ // expected-note 3{{no constexpr constructors}}
5
NonLit
();
19
static const
NonLit
h =
NonLit
(); // expected-error {{must be initialized out of line}}
41
static constexpr
NonLit
h =
NonLit
(); // expected-error {{cannot have non-literal type 'const
NonLit
'}}
46
template<typename T> constexpr T U<T>::d = T(); // expected-error {{non-literal type 'const
NonLit
'}}
49
U<
NonLit
> u2; // expected-note {{here}}
53
constexpr int outofline = (U<
NonLit
>::d, 0); // expected-note {{here}} expected-warning {{unused}
[
all
...]
/external/clang/test/SemaCXX/
cxx1z-constexpr-lambdas.cpp
9
struct
NonLit
{ ~
NonLit
(); }; //expected-note{{not literal}}
10
auto L = [](
NonLit
NL) constexpr { }; //expected-error{{not a literal type}}
Completed in 284 milliseconds