diff options
Diffstat (limited to 'libcxx/test/utilities/function.objects/unord.hash/enum.fail.cpp')
-rw-r--r-- | libcxx/test/utilities/function.objects/unord.hash/enum.fail.cpp | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/libcxx/test/utilities/function.objects/unord.hash/enum.fail.cpp b/libcxx/test/utilities/function.objects/unord.hash/enum.fail.cpp deleted file mode 100644 index 9e44bfb7781..00000000000 --- a/libcxx/test/utilities/function.objects/unord.hash/enum.fail.cpp +++ /dev/null @@ -1,24 +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. -// -//===----------------------------------------------------------------------===// - -// <functional> - -// Hashing a struct w/o a defined hash should fail. - -#include <functional> -#include <cassert> -#include <type_traits> - -struct X {}; - -int main() -{ - X x; - size_t h = std::hash<X>{} ( x ); -} |