If the string is not formatted, these can happen when compiled with GCC:
- If it is a null string "", then GCC completely removes the call to
printf even with -O0.
- If the string is a single character string, say "\n" for example,
then GCC replaces the call to printf with a call to putchar.
- If the string length is greater than 1, but is not formatted, then
GCC replaces the call to printf with a call to puts.
All the above will fail the test as we want a breakpoint on "printf" to
hit.