Home
last modified time | relevance | path

Searched defs:Nasty (Results 1 – 6 of 6) sorted by relevance

/llvm-project/libcxx/test/std/containers/sequences/vector/vector.data/
H A Ddata_const.pass.cpp20 struct Nasty { struct
21 TEST_CONSTEXPR Nasty() : i_(0) {} in Nasty() argument
22 TEST_CONSTEXPR Nasty(int i) : i_(i) {} in Nasty() argument
23 TEST_CONSTEXPR_CXX20 ~Nasty() {} in ~Nasty() argument
25 Nasty * operator&() const { assert(false); return nullptr; } in operator &() argument
42 const std::vector<Nasty> v(100); in tests() argument
[all...]
H A Ddata.pass.cpp20 struct Nasty { struct
21 TEST_CONSTEXPR Nasty() : i_(0) {} in Nasty() argument
22 TEST_CONSTEXPR Nasty(int i) : i_(i) {} in Nasty() function
23 TEST_CONSTEXPR_CXX20 ~Nasty() {} in ~Nasty() argument
25 Nasty * operator&() const { assert(false); return nullptr; } in operator &() argument
42 std::vector<Nasty> v(100); in tests() argument
/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/
H A Duninitialized_fill.pass.cpp40 struct Nasty struct
42 Nasty() : i_ ( counter_++ ) {} in Nasty() function
43 Nasty * operator &() const { return nullptr; } in operator &() argument
48 int Nasty::counter_ = 0; argument
/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill.n/
H A Duninitialized_fill_n.pass.cpp39 struct Nasty struct
41 Nasty() : i_ ( counter_++ ) {} in Nasty() argument
42 Nasty * operator &() const { return nullptr; } in operator &() argument
47 int Nasty::counter_ = 0; argument
/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.copy/
H A Duninitialized_copy.pass.cpp41 struct Nasty struct
43 Nasty() : i_ ( counter_++ ) {} in Nasty() function
44 Nasty * operator &() const { return nullptr; } in operator &() argument
49 int Nasty::counter_ = 0; argument
H A Duninitialized_copy_n.pass.cpp41 struct Nasty struct
43 Nasty() : i_ ( counter_++ ) {} in Nasty() function
44 Nasty * operator &() const { return nullptr; } in operator &() argument
49 int Nasty::counter_ = 0; argument