diff options
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 {}; |