Fix misspelled macro name - thanks to andrew@ispras.ru for the catch

llvm-svn: 322196
This commit is contained in:
Marshall Clow 2018-01-10 16:25:04 +00:00
parent 8b63227279
commit 6b40646bec
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ int main()
test<random_access_iterator<const int*>, bidirectional_iterator<const int*> >(); test<random_access_iterator<const int*>, bidirectional_iterator<const int*> >();
test<random_access_iterator<const int*>, random_access_iterator<const int*> >(); test<random_access_iterator<const int*>, random_access_iterator<const int*> >();
#if TEST_STD_VERS > 14 #if TEST_STD_VER > 14
{ {
typedef int * RI; typedef int * RI;
static_assert((std::is_same<RI, decltype(std::search(RI(), RI(), MySearcher()))>::value), "" ); static_assert((std::is_same<RI, decltype(std::search(RI(), RI(), MySearcher()))>::value), "" );