diff options
author | kcgen <kcgen@users.noreply.github.com> | 2022-06-10 18:08:19 +0300 |
---|---|---|
committer | kcgen <1557255+kcgen@users.noreply.github.com> | 2022-06-10 18:29:29 +0300 |
commit | 3370addd7c16321a0ed7008f4250e40ebcb8514e (patch) | |
tree | 217a78baec0953453130353d447f92787d605b91 /tests | |
parent | ec0b30901a5f772f54d210669f81a38d1198ea05 (diff) |
Avoid shadowing a type inside the bit_view tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bit_view_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bit_view_tests.cpp b/tests/bit_view_tests.cpp index 760d3b685..25e9620a8 100644 --- a/tests/bit_view_tests.cpp +++ b/tests/bit_view_tests.cpp @@ -284,7 +284,7 @@ TEST(bit_view, size_safety) TEST(bit_view, illegal_view) { - union Register { + union BadRegister { uint32_t data = 0; // the following fails to compile because the view is out of // range: |