Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dattr-require-constant-initialization.cpp12 struct PODType { // expected-note 0+ {{declared here}} struct
136 const int &TT1::subobj_init = PODType().value;
151 ATTR static PODType pod; in test_basic_start_static_2_2()
153 ATTR static PODType pod; // expected-error {{variable does not have a constant initializer}} in test_basic_start_static_2_2()
157 …ATTR static PODType pot2 = {ReturnInt()}; // expected-error {{variable does not have a constant in… in test_basic_start_static_2_2()
179 ATTR static PODType pod_noinit;
191 PODType TT2::pod_noinit; // expected-note 0+ {{declared here}}
262 ATTR PODType pod_init = {};
263 ATTR PODType pod_missing_init = {42 /* should have second arg */};
264 ATTR PODType pod_full_init = {1, 2};
[all …]
/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.object/optional.object.dtor/
H A Ddtor.pass.cpp22 struct PODType { struct
50 typedef PODType T; in main()