After some tinkering, I actually managed ChatGPT to create complex Ruby/C++ code, involving an inheritance chain across the two languages and a mixed syntax that was actually interpreted correctly. Almost creepy!