forked from OSchip/llvm-project
Fix misspelled macro name - thanks to andrew@ispras.ru for the catch
llvm-svn: 322196
This commit is contained in:
parent
8b63227279
commit
6b40646bec
|
@ -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), "" );
|
||||||
|
|
Loading…
Reference in New Issue