issue #2607, enable '\e' character escape for --standard cc65

This commit is contained in:
Gorilla Sapiens
2025-05-02 07:02:07 +00:00
parent 2085646e57
commit f48fb03540
7 changed files with 110 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
#include <stdio.h>
#include <stdlib.h>
/* this should succeed on all three standards
* yet use only \e on CC65
*/
int main(void) {
#if __CC65_STD__ == __CC65_STD_CC65__
printf("\e");
#endif
return EXIT_SUCCESS;
}