Home
last modified time | relevance | path

Searched refs:TEST_IGNORE_NODISCARD (Results 1 – 25 of 68) sorted by relevance

123

/external/libcxx/test/std/containers/sequences/array/
Dfront_back.pass.cpp77 TEST_IGNORE_NODISCARD c.front(); in main()
78 TEST_IGNORE_NODISCARD c.back(); in main()
79 TEST_IGNORE_NODISCARD cc.front(); in main()
80 TEST_IGNORE_NODISCARD cc.back(); in main()
93 TEST_IGNORE_NODISCARD c.front(); in main()
94 TEST_IGNORE_NODISCARD c.back(); in main()
95 TEST_IGNORE_NODISCARD cc.front(); in main()
96 TEST_IGNORE_NODISCARD cc.back(); in main()
Dcompare.fail.cpp52 TEST_IGNORE_NODISCARD (c1 == c1); in main()
53 TEST_IGNORE_NODISCARD (c1 < c1); in main()
60 TEST_IGNORE_NODISCARD (c1 != c1); in main()
61 TEST_IGNORE_NODISCARD (c1 > c1); in main()
68 TEST_IGNORE_NODISCARD (c1 == c1); in main()
69 TEST_IGNORE_NODISCARD (c1 < c1); in main()
Dat.pass.cpp53 TEST_IGNORE_NODISCARD c.at(3); in main()
67 TEST_IGNORE_NODISCARD c.at(0); in main()
73 TEST_IGNORE_NODISCARD cc.at(0); in main()
92 TEST_IGNORE_NODISCARD c.at(3); in main()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.elem/
Dtuple.by.type.fail.cpp20 TEST_IGNORE_NODISCARD std::get<int>(t1); // expected-error@tuple:* {{type not found}} in test_bad_index()
21 TEST_IGNORE_NODISCARD std::get<long>(t1); // expected-note {{requested here}} in test_bad_index()
22 TEST_IGNORE_NODISCARD std::get<char>(t1); // expected-note {{requested here}} in test_bad_index()
25 TEST_IGNORE_NODISCARD std::get<char*>(t0); // expected-node {{requested here}} in test_bad_index()
/external/libcxx/test/std/iterators/iterator.range/
Dbegin-end.fail.cpp46 TEST_IGNORE_NODISCARD std::cbegin (Foo::FakeContainer()); in main()
47 TEST_IGNORE_NODISCARD std::cend (Foo::FakeContainer()); in main()
48 TEST_IGNORE_NODISCARD std::crbegin(Foo::FakeContainer()); in main()
49 TEST_IGNORE_NODISCARD std::crend (Foo::FakeContainer()); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcode/syserr.errcode.overview/
Dtypes.pass.cpp21 TEST_IGNORE_NODISCARD x.category(); // returns a std::error_category & in main()
22 TEST_IGNORE_NODISCARD x.default_error_condition(); // std::error_condition in main()
23 TEST_IGNORE_NODISCARD x.message(); // returns a std::string in main()
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.string/
Dctor_err_string.pass.cpp36 TEST_IGNORE_NODISCARD myconv.to_bytes(L"\xDA83"); in main()
44 TEST_IGNORE_NODISCARD myconv.from_bytes('\xA5'); in main()
59 TEST_IGNORE_NODISCARD myconv.from_bytes('\xA5'); in main()
/external/libcxx/test/std/containers/associative/map/map.access/
Dat.pass.cpp50 TEST_IGNORE_NODISCARD m.at(6); in main()
83 TEST_IGNORE_NODISCARD m.at(6); in main()
119 TEST_IGNORE_NODISCARD m.at(6); in main()
152 TEST_IGNORE_NODISCARD m.at(6); in main()
/external/libcxx/test/std/diagnostics/syserr/syserr.errcondition/syserr.errcondition.overview/
Dtypes.pass.cpp21 TEST_IGNORE_NODISCARD x.category(); // returns a std::error_condition & in main()
22 TEST_IGNORE_NODISCARD x.message(); // returns a std::string in main()
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/
Ddereference.runtime.fail.cpp22TEST_IGNORE_NODISCARD (*p); // expected-error {{indirection requires pointer operand ('std::uniqu… in main()
23TEST_IGNORE_NODISCARD (*cp); // expected-error {{indirection requires pointer operand ('const std:… in main()
/external/libcxx/test/std/iterators/iterators.general/
Dgcc_workaround.pass.cpp15 void f(const std::string &s) { TEST_IGNORE_NODISCARD s.begin(); } in f()
19 void AppendTo(const std::vector<char> &v) { TEST_IGNORE_NODISCARD v.begin(); } in AppendTo()
/external/libcxx/test/std/iterators/predef.iterators/move.iterators/move.iter.ops/move.iter.nonmember/
Dmake_move_iterator.pass.cpp46 TEST_IGNORE_NODISCARD std::make_move_iterator(a+4); in main()
47 TEST_IGNORE_NODISCARD std::make_move_iterator(a); // test for LWG issue 2061 in main()
/external/libcxx/test/std/re/re.grammar/
Dexcessive_brace_count.pass.cpp24 TEST_IGNORE_NODISCARD std::regex("a\\{100000000000000000\\}", op); in main()
34 TEST_IGNORE_NODISCARD std::regex("a{100000000000000000}", op); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.locking/
Dtry_lock.pass.cpp47 TEST_IGNORE_NODISCARD lk.try_lock(); in main()
63 TEST_IGNORE_NODISCARD lk.try_lock(); in main()
Dtry_lock_for.pass.cpp52 TEST_IGNORE_NODISCARD lk.try_lock_for(ms(5)); in main()
68 TEST_IGNORE_NODISCARD lk.try_lock_for(ms(5)); in main()
Dtry_lock_until.pass.cpp52 TEST_IGNORE_NODISCARD lk.try_lock_until(Clock::now()); in main()
68 TEST_IGNORE_NODISCARD lk.try_lock_until(Clock::now()); in main()
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.locking/
Dtry_lock.pass.cpp46 TEST_IGNORE_NODISCARD lk.try_lock(); in main()
62 TEST_IGNORE_NODISCARD lk.try_lock(); in main()
Dtry_lock_for.pass.cpp51 TEST_IGNORE_NODISCARD lk.try_lock_for(ms(5)); in main()
67 TEST_IGNORE_NODISCARD lk.try_lock_for(ms(5)); in main()
Dtry_lock_until.pass.cpp51 TEST_IGNORE_NODISCARD lk.try_lock_until(Clock::now()); in main()
67 TEST_IGNORE_NODISCARD lk.try_lock_until(Clock::now()); in main()
/external/libcxx/test/std/utilities/any/any.nonmembers/any.cast/
Dany_cast_reference.pass.cpp84 TEST_IGNORE_NODISCARD any_cast<Type>(a); in checkThrows()
93 TEST_IGNORE_NODISCARD any_cast<ConstT>(static_cast<any const&>(a)); in checkThrows()
107 TEST_IGNORE_NODISCARD any_cast<RefType>(static_cast<any&&>(a)); in checkThrows()
115 (TEST_IGNORE_NODISCARD a); in checkThrows()
121 DisableAllocationGuard g; (TEST_IGNORE_NODISCARD g); in test_cast_empty()
/external/libcxx/test/std/strings/basic.string/string.access/
Dat.pass.cpp38 TEST_IGNORE_NODISCARD s.at(pos); in test()
47 TEST_IGNORE_NODISCARD cs.at(pos); in test()
/external/libcxx/test/std/containers/unord/unord.map/unord.map.elem/
Dat.pass.cpp76 TEST_IGNORE_NODISCARD c.at(11); in main()
134 TEST_IGNORE_NODISCARD c.at(11); in main()
/external/libcxx/test/std/utilities/any/any.nonmembers/
Dmake_any.pass.cpp119 TEST_IGNORE_NODISCARD std::make_any<Type>(101); in test_make_any_throws()
126 TEST_IGNORE_NODISCARD std::make_any<Type>({1, 2, 3}, 101); in test_make_any_throws()
/external/libcxx/test/std/containers/associative/multimap/multimap.ops/
Dcount2.fail.cpp36 TEST_IGNORE_NODISCARD M().count(C2Int{5}); in main()
Dequal_range3.fail.cpp37 TEST_IGNORE_NODISCARD M().equal_range(C2Int{5}); in main()

123