mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 01:18:52 +08:00
Fix operator precedence mistake in valarray/not.pass.cpp. Patch from STL@microsoft.com
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273352 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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]));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user