diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:47:26 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2016-07-23 20:47:26 +0000 |
| commit | 51072bd6bf79ef2bc6a922079bff57c31c1effbc (patch) | |
| tree | 91a2effbc9e6f80bdbbf9eb70e06c51ad0867ea0 /test/std/numerics/numarray | |
| parent | bb5e33f003797b67974a8893f7f2930fc51b8210 (diff) | |
Notes
Diffstat (limited to 'test/std/numerics/numarray')
| -rw-r--r-- | test/std/numerics/numarray/template.valarray/valarray.unary/not.pass.cpp | 2 | ||||
| -rw-r--r-- | test/std/numerics/numarray/version.pass.cpp | 20 |
2 files changed, 1 insertions, 21 deletions
diff --git a/test/std/numerics/numarray/template.valarray/valarray.unary/not.pass.cpp b/test/std/numerics/numarray/template.valarray/valarray.unary/not.pass.cpp index 0b792c68fb94..306ea0c18470 100644 --- a/test/std/numerics/numarray/template.valarray/valarray.unary/not.pass.cpp +++ b/test/std/numerics/numarray/template.valarray/valarray.unary/not.pass.cpp @@ -36,6 +36,6 @@ int main() std::valarray<bool> v2 = !(v + v); assert(v2.size() == v.size()); for (int i = 0; i < v2.size(); ++i) - assert(v2[i] == !2*v[i]); + assert(v2[i] == !(2 * v[i])); } } diff --git a/test/std/numerics/numarray/version.pass.cpp b/test/std/numerics/numarray/version.pass.cpp deleted file mode 100644 index 85457d4329ec..000000000000 --- a/test/std/numerics/numarray/version.pass.cpp +++ /dev/null @@ -1,20 +0,0 @@ -//===----------------------------------------------------------------------===// -// -// 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> - -#include <valarray> - -#ifndef _LIBCPP_VERSION -#error _LIBCPP_VERSION not defined -#endif - -int main() -{ -} |
