diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-09-13 19:55:13 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-09-13 19:55:13 +0000 |
commit | ceb07622bacde3184b19caf0957f5eeba5cb6784 (patch) | |
tree | 80ca7bea52be930b9315fb774d3fe65bf84d1d6c /test/CodeGenCXX/mangle.cpp | |
parent | 45b76bad757d8b9f93df2b21ca012c309810d206 (diff) |
Remove speculative fix for C++ core issue 1407, since it was resolved as NAD.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@163829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/mangle.cpp')
-rw-r--r-- | test/CodeGenCXX/mangle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/mangle.cpp b/test/CodeGenCXX/mangle.cpp index ba1b3bf5ac..b384d2ea13 100644 --- a/test/CodeGenCXX/mangle.cpp +++ b/test/CodeGenCXX/mangle.cpp @@ -181,7 +181,7 @@ template <typename T> typename T::U ft6(const T&) { return 0; } template int ft6<S>(const S&); template<typename> struct __is_scalar_type { - enum { __value = 1 }; + static const bool __value = true; }; template<bool, typename> struct __enable_if { }; @@ -231,7 +231,7 @@ template void ft8<void*>(); // PR5796 namespace PR5796 { template<typename> struct __is_scalar_type { - enum { __value = 0 }; + static const bool __value = false; }; template<bool, typename> struct __enable_if {}; |