From 5ce10a67446c78779e63e19e4da0eeb671afff15 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sun, 16 May 2010 12:46:02 +0000 Subject: Replaced :: with _ in several path names llvm-svn: 103907 --- .../string::op!=/string_pointer.pass.cpp | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 libcxx/test/strings/basic.string/string.nonmembers/string::op!=/string_pointer.pass.cpp (limited to 'libcxx/test/strings/basic.string/string.nonmembers/string::op!=/string_pointer.pass.cpp') diff --git a/libcxx/test/strings/basic.string/string.nonmembers/string::op!=/string_pointer.pass.cpp b/libcxx/test/strings/basic.string/string.nonmembers/string::op!=/string_pointer.pass.cpp deleted file mode 100644 index ef9bf6725ab..00000000000 --- a/libcxx/test/strings/basic.string/string.nonmembers/string::op!=/string_pointer.pass.cpp +++ /dev/null @@ -1,45 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -// - -// template -// bool operator!=(const basic_string& lhs, const charT* rhs); - -#include -#include - -template -void -test(const S& lhs, const typename S::value_type* rhs, bool x) -{ - assert((lhs != rhs) == x); -} - -typedef std::string S; - -int main() -{ - test(S(""), "", false); - test(S(""), "abcde", true); - test(S(""), "abcdefghij", true); - test(S(""), "abcdefghijklmnopqrst", true); - test(S("abcde"), "", true); - test(S("abcde"), "abcde", false); - test(S("abcde"), "abcdefghij", true); - test(S("abcde"), "abcdefghijklmnopqrst", true); - test(S("abcdefghij"), "", true); - test(S("abcdefghij"), "abcde", true); - test(S("abcdefghij"), "abcdefghij", false); - test(S("abcdefghij"), "abcdefghijklmnopqrst", true); - test(S("abcdefghijklmnopqrst"), "", true); - test(S("abcdefghijklmnopqrst"), "abcde", true); - test(S("abcdefghijklmnopqrst"), "abcdefghij", true); - test(S("abcdefghijklmnopqrst"), "abcdefghijklmnopqrst", false); -} -- cgit v1.2.3