From 6d50da017ff265ec34c17d35584fa4eed9b77c07 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 25 Apr 2011 17:47:19 +0900 Subject: [PATCH] test/utilities/type.index/type.index.members/lt.pass.cpp: I don't understand what it is! --- .../type.index/type.index.members/lt.pass.cpp | 35 ------------------- 1 file changed, 35 deletions(-) delete mode 100644 test/utilities/type.index/type.index.members/lt.pass.cpp diff --git a/test/utilities/type.index/type.index.members/lt.pass.cpp b/test/utilities/type.index/type.index.members/lt.pass.cpp deleted file mode 100644 index b4426280..00000000 --- a/test/utilities/type.index/type.index.members/lt.pass.cpp +++ /dev/null @@ -1,35 +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. -// -//===----------------------------------------------------------------------===// - -// - -// class type_index - -// bool operator< (const type_index& rhs) const; -// bool operator<=(const type_index& rhs) const; -// bool operator> (const type_index& rhs) const; -// bool operator>=(const type_index& rhs) const; - -#include -#include - -int main() -{ - std::type_index t1 = typeid(int); - std::type_index t2 = typeid(int); - std::type_index t3 = typeid(long); - assert(!(t1 < t2)); - assert( (t1 <= t2)); - assert(!(t1 > t2)); - assert( (t1 >= t2)); - assert(!(t1 < t3)); - assert(!(t1 <= t3)); - assert( (t1 > t3)); - assert( (t1 >= t3)); -}