aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-05-03 02:12:26 +0000
committerEric Fiselier <eric@efcs.ca>2016-05-03 02:12:26 +0000
commit15a297212fd42fddfca93b58dacbde1705f12d53 (patch)
tree2f623cbbb8ca9996d30ac459ae31467470a48b19 /llvm/lib/Object
parent43a10eb637b2da24cc8d5ee1c52a7ff3a485cf9c (diff)
downloadllvm-15a297212fd42fddfca93b58dacbde1705f12d53.zip
llvm-15a297212fd42fddfca93b58dacbde1705f12d53.tar.gz
llvm-15a297212fd42fddfca93b58dacbde1705f12d53.tar.bz2
[libcxx] [test] Replace non-Standard "atomic_flag f(false);" with Standard "atomic_flag f;"
Summary: Replace non-Standard "atomic_flag f(false);" with Standard "atomic_flag f;" in clear tests. Although the value of 'f' is unspecified it shouldn't matter because these tests always call `f.test_and_set()` without checking the result, so the initial state shouldn't matter. The test init03.pass.cpp is explicitly testing this non-Standard extension; It has been moved into the `test/libcxx` directory. Reviewers: mclow.lists, STL_MSFT Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D19758 llvm-svn: 268355
Diffstat (limited to 'llvm/lib/Object')
0 files changed, 0 insertions, 0 deletions
span> const_arr6(2) = [0,4] integer(kind=int64), parameter :: const_arr7(2) = [0,4] n = ishftc(3, 2, 3) array_result = ishftc([3,3], [2,2], [3,3]) !ERROR: SIZE=-3 count for ishftc is not positive n = ishftc(3, 2, -3) !ERROR: SIZE=0 count for ishftc is not positive n = ishftc(3, 2, 0) !ERROR: SHIFT=2 count for ishftc is greater in magnitude than SIZE=1 n = ishftc(3, 2, 1) !ERROR: SHIFT=-2 count for ishftc is greater in magnitude than SIZE=1 n = ishftc(3, -2, 1) !ERROR: SIZE=-3 count for ishftc is not positive array_result = ishftc([3,3], [2,2], [-3,3]) !ERROR: SIZE=-3 count for ishftc is not positive array_result = ishftc([3,3], [2,2], [-3,-3]) !ERROR: SIZE=-3 count for ishftc is not positive array_result = ishftc([3,3], [-2,-2], const_arr1) !ERROR: SIZE=0 count for ishftc is not positive array_result = ishftc([3,3], [-2,-2], const_arr2) !ERROR: SIZE=0 count for ishftc is not positive array_result = ishftc([3,3], [-2,-2], const_arr3) !ERROR: SIZE=0 count for ishftc is not positive array_result = ishftc([3,3], [-2,-2], const_arr4) !ERROR: SIZE=0 count for ishftc is not positive array_result = ishftc([3,3], [-2,-2], const_arr5) !ERROR: SIZE=0 count for ishftc is not positive array_result = ishftc([3,3], [-2,-2], const_arr6) !ERROR: SIZE=0 count for ishftc is not positive array_result = ishftc([3,3], [-2,-2], const_arr7) end program test_ishftc