summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/shift.cpp
diff options
context:
space:
mode:
authorNandor Licker <n@ndor.email>2019-08-30 15:41:45 +0000
committerNandor Licker <n@ndor.email>2019-08-30 15:41:45 +0000
commit5c8b94a672e78d92d058f146741277228f28f9dd (patch)
treef8d0851637cb87afc6da1f0149d47d0e395e614f /clang/test/SemaCXX/shift.cpp
parent3fac668d837a92bfbabb1205027b830d709a3c42 (diff)
downloadbcm5719-llvm-5c8b94a672e78d92d058f146741277228f28f9dd.tar.gz
bcm5719-llvm-5c8b94a672e78d92d058f146741277228f28f9dd.zip
Revert [Clang Interpreter] Initial patch for the constexpr interpreter
This reverts r370476 (git commit a5590950549719d0d9ea69ed164b0c8c0f4e02e6) llvm-svn: 370481
Diffstat (limited to 'clang/test/SemaCXX/shift.cpp')
-rw-r--r--clang/test/SemaCXX/shift.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/test/SemaCXX/shift.cpp b/clang/test/SemaCXX/shift.cpp
index 6c5f1c1913e..f99b53e358a 100644
--- a/clang/test/SemaCXX/shift.cpp
+++ b/clang/test/SemaCXX/shift.cpp
@@ -82,8 +82,3 @@ void vect_shift_2(vec16 *x, vec16 y) { *x = *x << y; }
void vect_shift_3(vec16 *x, vec8 y) {
*x = *x << y; // expected-error {{vector operands do not have the same number of elements}}
}
-static_assert(-1 >> 1 == -1);
-static_assert(-1 >> 31 == -1);
-static_assert(-2 >> 1 == -1);
-static_assert(-3 >> 1 == -2);
-static_assert(-4 >> 1 == -2);
OpenPOWER on IntegriCloud