contrib: c++ify test stubs after switching to c++ compilers

This commit is contained in:
Cory Fields
2024-07-04 20:23:51 +00:00
parent 261f770333
commit 9010b1343b
2 changed files with 4 additions and 4 deletions

View File

@@ -15,10 +15,10 @@ from utils import determine_wellknown_cmd
def write_testcode(filename):
with open(filename, 'w', encoding="utf8") as f:
f.write('''
#include <stdio.h>
#include <cstdio>
int main()
{
printf("the quick brown fox jumps over the lazy god\\n");
std::printf("the quick brown fox jumps over the lazy god\\n");
return 0;
}
''')