We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1dfd306 commit 9714db6Copy full SHA for 9714db6
1 file changed
test/testother.cpp
@@ -3960,6 +3960,9 @@ class TestOther : public TestFixture {
3960
3961
check("void push(V& v) { v.push_back({ .x = 1 }); }"); // #14010
3962
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());
3966
}
3967
3968
void constParameterCallback() {
0 commit comments