#include <stdlib.h>
#include <string.h>
typedef unsigned char uint8;
class A {};
const char* operator+(const A& bar, const uint8* foo)
{
return (const char *)foo;
}
const uint8* operator+(const A& bar, const char* foo)
{
return (const uint8 *)foo;
}
A cstr;
int main()
{
const uint8* str = cstr + "Testing 1 2 3";
int len = strlen(cstr+str);
return 0;
}
I2luY2x1ZGUgPHN0ZGxpYi5oPgojaW5jbHVkZSA8c3RyaW5nLmg+CiAKdHlwZWRlZiB1bnNpZ25lZCBjaGFyIHVpbnQ4OwpjbGFzcyBBIHt9OwogCmNvbnN0IGNoYXIqIG9wZXJhdG9yKyhjb25zdCBBJiBiYXIsIGNvbnN0IHVpbnQ4KiBmb28pIAp7IAogIHJldHVybiAoY29uc3QgY2hhciAqKWZvbzsKfQoKY29uc3QgdWludDgqIG9wZXJhdG9yKyhjb25zdCBBJiBiYXIsIGNvbnN0IGNoYXIqIGZvbykKewogIHJldHVybiAoY29uc3QgdWludDggKilmb287Cn0KIApBIGNzdHI7CgppbnQgbWFpbigpCnsKICAgIGNvbnN0IHVpbnQ4KiBzdHIgPSBjc3RyICsgIlRlc3RpbmcgMSAyIDMiOwogICAgaW50IGxlbiA9IHN0cmxlbihjc3RyK3N0cik7CiAgICByZXR1cm4gMDsKfQ==