diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-10-12 09:20:58 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-10-12 09:20:58 +0000 |
commit | 9b480b07f9215a9d1c7d91d47e527fb40426df9f (patch) | |
tree | d2359a4f876cf1e85faae7629c1c93151d06f86e /libcxx/test/support | |
parent | e68f1add5019aab9df250b20ff7c84629ca49c56 (diff) | |
download | bcm5719-llvm-9b480b07f9215a9d1c7d91d47e527fb40426df9f.tar.gz bcm5719-llvm-9b480b07f9215a9d1c7d91d47e527fb40426df9f.zip |
Fix use of C++14 constexpr in C++11
llvm-svn: 283993
Diffstat (limited to 'libcxx/test/support')
-rw-r--r-- | libcxx/test/support/archetypes.ipp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/test/support/archetypes.ipp b/libcxx/test/support/archetypes.ipp index 1f94ddcf0c8..a86e584af0a 100644 --- a/libcxx/test/support/archetypes.ipp +++ b/libcxx/test/support/archetypes.ipp @@ -9,7 +9,11 @@ #define DEFINE_CONSTEXPR constexpr #endif #ifndef DEFINE_ASSIGN_CONSTEXPR +#if TEST_STD_VER >= 14 #define DEFINE_ASSIGN_CONSTEXPR DEFINE_CONSTEXPR +#else +#define DEFINE_ASSIGN_CONSTEXPR +#endif #endif #ifndef DEFINE_CTOR #define DEFINE_CTOR = default |