forked from OSchip/llvm-project
Fix operator precedence mistake in valarray/not.pass.cpp. Patch from STL@microsoft.com
llvm-svn: 273352
This commit is contained in:
parent
e4755e595d
commit
060ecaf672
|
@ -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]));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue