From 392e4fbdd9b152efff4c051286f6b2c21270c902 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 18 Apr 2012 21:39:23 +0000 Subject: Creating release_31 branch llvm-svn: 155059 llvm-svn: 155053 llvm-svn: 155051 --- .../basic.string/string.capacity/length.pass.cpp | 30 ---------------------- 1 file changed, 30 deletions(-) delete mode 100644 libcxx/test/strings/basic.string/string.capacity/length.pass.cpp (limited to 'libcxx/test/strings/basic.string/string.capacity/length.pass.cpp') diff --git a/libcxx/test/strings/basic.string/string.capacity/length.pass.cpp b/libcxx/test/strings/basic.string/string.capacity/length.pass.cpp deleted file mode 100644 index 756c1412c0e8..000000000000 --- a/libcxx/test/strings/basic.string/string.capacity/length.pass.cpp +++ /dev/null @@ -1,30 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is dual licensed under the MIT and the University of Illinois Open -// Source Licenses. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -// - -// size_type length() const; - -#include -#include - -template -void -test(const S& s) -{ - assert(s.length() == s.size()); -} - -int main() -{ - typedef std::string S; - test(S()); - test(S("123")); - test(S("12345678901234567890123456789012345678901234567890")); -} -- cgit v1.2.3