We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6e045f commit a200811Copy full SHA for a200811
1 file changed
test/teststring.cpp
@@ -823,6 +823,13 @@ class TestString : public TestFixture {
823
" if (strequ(p, \"ALL\")) {}\n"
824
"}\n");
825
ASSERT_EQUALS("", errout_str());
826
+
827
+ check("void f(std::string_view);\n"
828
+ "void f(bool);\n"
829
+ "void g() {\n"
830
+ " f(\"\"sv);\n"
831
+ "}\n");
832
+ ASSERT_EQUALS("", errout_str());
833
}
834
835
void deadStrcmp() {
0 commit comments