aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/tests/testfunctiontag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/ApiExtractor/tests/testfunctiontag.cpp')
-rw-r--r--sources/shiboken6/ApiExtractor/tests/testfunctiontag.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/ApiExtractor/tests/testfunctiontag.cpp b/sources/shiboken6/ApiExtractor/tests/testfunctiontag.cpp
index 66c2e08c9..0e78d61bb 100644
--- a/sources/shiboken6/ApiExtractor/tests/testfunctiontag.cpp
+++ b/sources/shiboken6/ApiExtractor/tests/testfunctiontag.cpp
@@ -50,8 +50,8 @@ void TestFunctionTag::testFunctionTagForAllSignatures()
void TestFunctionTag::testRenameGlobalFunction()
{
- const char* cppCode ="void global_function_with_ugly_name();\n";
- const char* xmlCode = "\
+ const char cppCode[] = "void global_function_with_ugly_name();\n";
+ const char xmlCode[] = "\
<typesystem package='Foo'>\n\
<function signature='global_function_with_ugly_name()' rename='smooth'/>\n\
</typesystem>\n";