From b67ada6687e8e727a0171a339925ddd94093e3d0 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Thu, 13 Sep 2012 19:55:13 +0000 Subject: Remove speculative fix for C++ core issue 1407, since it was resolved as NAD. llvm-svn: 163829 --- clang/test/CodeGenCXX/mangle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/CodeGenCXX/mangle.cpp') diff --git a/clang/test/CodeGenCXX/mangle.cpp b/clang/test/CodeGenCXX/mangle.cpp index ba1b3bf5acd..b384d2ea13f 100644 --- a/clang/test/CodeGenCXX/mangle.cpp +++ b/clang/test/CodeGenCXX/mangle.cpp @@ -181,7 +181,7 @@ template typename T::U ft6(const T&) { return 0; } template int ft6(const S&); template struct __is_scalar_type { - enum { __value = 1 }; + static const bool __value = true; }; template struct __enable_if { }; @@ -231,7 +231,7 @@ template void ft8(); // PR5796 namespace PR5796 { template struct __is_scalar_type { - enum { __value = 0 }; + static const bool __value = false; }; template struct __enable_if {}; -- cgit v1.2.3