浏览代码

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

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@322196 91177308-0d34-0410-b5e6-96231b3b80d8
Marshall Clow 7 年之前
父节点
当前提交
210d12c946
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp

+ 1 - 1
test/std/algorithms/alg.nonmodifying/alg.search/search.pass.cpp

@@ -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), "" );