Home
last modified time | relevance | path

Searched refs:FakeContainer (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/libcxx/test/std/iterators/iterator.range/
Dbegin-end.compile.fail.cpp28 struct FakeContainer {}; struct
31 FakeIter begin(const FakeContainer &) { return 1; } in begin() argument
32 FakeIter end (const FakeContainer &) { return 2; } in end() argument
33 FakeIter rbegin(const FakeContainer &) { return 3; } in rbegin() argument
34 FakeIter rend (const FakeContainer &) { return 4; } in rend() argument
36 FakeIter cbegin(const FakeContainer &) { return 11; } in cbegin() argument
37 FakeIter cend (const FakeContainer &) { return 12; } in cend() argument
38 FakeIter crbegin(const FakeContainer &) { return 13; } in crbegin() argument
39 FakeIter crend (const FakeContainer &) { return 14; } in crend() argument
45 TEST_IGNORE_NODISCARD std::cbegin (Foo::FakeContainer()); in main()
[all …]
/external/libcxx/test/std/iterators/iterator.range/
Dbegin-end.fail.cpp29 struct FakeContainer {}; struct
32 FakeIter begin(const FakeContainer &) { return 1; } in begin() argument
33 FakeIter end (const FakeContainer &) { return 2; } in end() argument
34 FakeIter rbegin(const FakeContainer &) { return 3; } in rbegin() argument
35 FakeIter rend (const FakeContainer &) { return 4; } in rend() argument
37 FakeIter cbegin(const FakeContainer &) { return 11; } in cbegin() argument
38 FakeIter cend (const FakeContainer &) { return 12; } in cend() argument
39 FakeIter crbegin(const FakeContainer &) { return 13; } in crbegin() argument
40 FakeIter crend (const FakeContainer &) { return 14; } in crend() argument
46 TEST_IGNORE_NODISCARD std::cbegin (Foo::FakeContainer()); in main()
[all …]
/external/pigweed/pw_kvs/
Dconverts_to_span_test.cc70 struct FakeContainer { struct
75 static_assert(ConvertsToSpan<FakeContainer>());
76 static_assert(ConvertsToSpan<FakeContainer&>());
77 static_assert(ConvertsToSpan<FakeContainer&&>());
78 static_assert(ConvertsToSpan<const FakeContainer>());
79 static_assert(ConvertsToSpan<const FakeContainer&>());
80 static_assert(ConvertsToSpan<const FakeContainer&&>());