[libcxx] r238234 - Fix broken test I just added

Marshall Clow mclow.lists at gmail.com
Tue May 26 12:17:09 PDT 2015


Author: marshall
Date: Tue May 26 14:17:09 2015
New Revision: 238234

URL: http://llvm.org/viewvc/llvm-project?rev=238234&view=rev
Log:
Fix broken test I just added

Modified:
    libcxx/trunk/test/std/containers/sequences/vector/contiguous.pass.cpp

Modified: libcxx/trunk/test/std/containers/sequences/vector/contiguous.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/containers/sequences/vector/contiguous.pass.cpp?rev=238234&r1=238233&r2=238234&view=diff
==============================================================================
--- libcxx/trunk/test/std/containers/sequences/vector/contiguous.pass.cpp (original)
+++ libcxx/trunk/test/std/containers/sequences/vector/contiguous.pass.cpp Tue May 26 14:17:09 2015
@@ -43,10 +43,10 @@ int main()
 #if __cplusplus >= 201103L
     {
     typedef double T;
-    typedef min_allocator<TW> A;
+    typedef min_allocator<T> A;
     typedef std::vector<T, A> C;
-    test_contiguous(S(A{}));
-    test_contiguous(S(9, 11.0, A{}));
+    test_contiguous(C(A{}));
+    test_contiguous(C(9, 11.0, A{}));
     }
 #endif
 }





More information about the cfe-commits mailing list