Arduino stops uploading

Hi,

Can anyone verify for me, that trying to upload a program to Arduino MEGA or maybe any Arduino, the upload stops if the code contains a constant string including !!! ?

like this small one will fail:

// Upload will never end
void setup() {
  String A = "!!!";
}

void loop() {
}

 

this one will finish:

// Upload will finish
void setup() {
String A = "aaa";
}

void loop() {
}

 

[original story: Let's Make Robots]

Let's Make Robots 05 Sep 22:54
arduino  avr  bug  programming