aboutsummaryrefslogtreecommitdiff
path: root/test/std/language.support/support.types/byteops/rshift.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/language.support/support.types/byteops/rshift.pass.cpp')
-rw-r--r--test/std/language.support/support.types/byteops/rshift.pass.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/std/language.support/support.types/byteops/rshift.pass.cpp b/test/std/language.support/support.types/byteops/rshift.pass.cpp
index 5ff986a70ade..876732545ac8 100644
--- a/test/std/language.support/support.types/byteops/rshift.pass.cpp
+++ b/test/std/language.support/support.types/byteops/rshift.pass.cpp
@@ -17,7 +17,7 @@
// template <class IntegerType>
// constexpr byte operator <<(byte b, IntegerType shift) noexcept;
-// These functions shall not participate in overload resolution unless
+// These functions shall not participate in overload resolution unless
// is_integral_v<IntegerType> is true.
@@ -29,12 +29,12 @@ constexpr std::byte test(std::byte b) {
int main () {
constexpr std::byte b100{100};
constexpr std::byte b115{115};
-
+
static_assert(noexcept(b100 << 2), "" );
static_assert(std::to_integer<int>(b100 >> 1) == 50, "");
static_assert(std::to_integer<int>(b100 >> 2) == 25, "");
static_assert(std::to_integer<int>(b115 >> 3) == 14, "");
- static_assert(std::to_integer<int>(b115 >> 6) == 1, "");
+ static_assert(std::to_integer<int>(b115 >> 6) == 1, "");
}