aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGenCXX/mangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenCXX/mangle.cpp')
-rw-r--r--test/CodeGenCXX/mangle.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/mangle.cpp b/test/CodeGenCXX/mangle.cpp
index b384d2ea13..ba1b3bf5ac 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 {
- static const bool __value = true;
+ enum { __value = 1 };
};
template<bool, typename> struct __enable_if { };
@@ -231,7 +231,7 @@ template void ft8<void*>();
// PR5796
namespace PR5796 {
template<typename> struct __is_scalar_type {
- static const bool __value = false;
+ enum { __value = 0 };
};
template<bool, typename> struct __enable_if {};