diff options
Diffstat (limited to 'test/std/numerics/numarray/template.mask.array/types.pass.cpp')
-rw-r--r-- | test/std/numerics/numarray/template.mask.array/types.pass.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/std/numerics/numarray/template.mask.array/types.pass.cpp b/test/std/numerics/numarray/template.mask.array/types.pass.cpp new file mode 100644 index 000000000000..c984c3feaa16 --- /dev/null +++ b/test/std/numerics/numarray/template.mask.array/types.pass.cpp @@ -0,0 +1,24 @@ +//===----------------------------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is dual licensed under the MIT and the University of Illinois Open +// Source Licenses. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +// <valarray> + +// template <class T> +// class mask_array +// { +// public: +// typedef T value_type; + +#include <valarray> +#include <type_traits> + +int main() +{ + static_assert((std::is_same<std::mask_array<int>::value_type, int>::value), ""); +} |