mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 10:07:41 +08:00
[libcxx] [test] Use TEST_COMPILER_C1XX.
Also TEST_COMPILER_CLANG in one place. (More could be changed.) git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@329977 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -15,14 +15,15 @@
|
||||
// constexpr void // constexpr after c++17
|
||||
// generate_n(Iter first, Size n, Generator gen);
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include "test_macros.h"
|
||||
|
||||
#ifdef TEST_COMPILER_C1XX
|
||||
#pragma warning(disable: 4244) // conversion from 'const double' to 'int', possible loss of data
|
||||
#endif
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
||||
#include "test_macros.h"
|
||||
#include "test_iterators.h"
|
||||
#include "user_defined_integral.hpp"
|
||||
|
||||
|
Reference in New Issue
Block a user