mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-29 00:01:48 +00:00
More string fixes for noexcept cases. Apparently I didn't get them all in r258281.
llvm-svn: 258291
This commit is contained in:
1 parent
79de17d3af
commit
e612a8877a
5 files changed
+9
-1
No files matched your search
+2
@@ -33,6 +33,7 @@ test(S s, typename S::difference_type pos, It first, It last, S expected)
|
||||
assert(s == expected);
|
||||
}
|
||||
|
||||
#ifndef TEST_HAS_NO_EXCEPTIONS
|
||||
template <class S, class It>
|
||||
void
|
||||
test_exceptions(S s, typename S::difference_type pos, It first, It last)
|
||||
@@ -47,6 +48,7 @@ test_exceptions(S s, typename S::difference_type pos, It first, It last)
|
||||
assert(s.__invariants());
|
||||
assert(s == aCopy);
|
||||
}
|
||||
#endif
|
||||
|
||||
int main()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user