Skip to content

Commit 9714db6

Browse files
Update testother.cpp
1 parent 1dfd306 commit 9714db6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

test/testother.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3960,6 +3960,9 @@ class TestOther : public TestFixture {
39603960

39613961
check("void push(V& v) { v.push_back({ .x = 1 }); }"); // #14010
39623962
ASSERT_EQUALS("", errout_str());
3963+
3964+
check("size_t* f(std::array<uint8_t, 128>& a) { return reinterpret_cast<size_t*>(a.data()); }\n"); // #14074
3965+
ASSERT_EQUALS("", errout_str());
39633966
}
39643967

39653968
void constParameterCallback() {

0 commit comments

Comments
 (0)