Fix operator precedence mistake in valarray/not.pass.cpp. Patch from STL@microsoft.com

llvm-svn: 273352
This commit is contained in:
Eric Fiselier 2016-06-22 01:04:09 +00:00
parent e4755e595d
commit 060ecaf672
1 changed files with 1 additions and 1 deletions

View File

@ -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]));
}
}