GOTO command

In what way does your example NOT work? I mean, it's got some minor syntax errors (no type for test, no closing brace for loop), and some logic errors (the "bailout" code will be reached after the loop finishes as well as when the goto works. and the for loop limits/types are questionable), and it probably all gets optimized away by the compiler, but the "goto" itself is about right.
Here's a corrected version that actually does something...

byte r, g, b;
void setup() {
  Serial.begin(38400);
}

void loop() {
  for (r = 0; r < 10; r++) {
    for (g = 10; g != 0; g--) {
      for (b = 0; b < 10; b++) {
        if (Serial.read() > 0) {
          goto bailout;
        }
        Serial.println("do something");
      }
    }
  }
  Serial.println("\n\n ***********  End of Loop *********\n");
  delay(500);
  return;

bailout:
  Serial.println("\n========= Bailout works ===========");
  delay(1000);
}