extern void print_int(int x);
extern void print_string(char c[]);

int x;
char c;

void main(void){

    /* check signed-ness of char -> int conversion */
    x = -1;
    c = x;
    print_string("should get -1\ngot: ");
    print_int(c);
    print_string("\n\n");

    x = -2147483647;
    print_string("should get -2147483647\ngot: ");
    print_int(x);
    print_string("\n\n");

    /* check signed-ness of char -> int conversion */
    x = -2147483648;
    print_string("should get -2147483648\ngot: ");
    print_int(x);
    print_string("\n\n");
}

extern void print_int(int x);
extern void print_string(char c[]);

int x;
char c;

void main(void){

    // check signed-ness of char -> int conversion
    x = -1;
    c = x;
    print_string("should get -1\ngot: ");
    print_int(c);
    print_string("\n\n");

    x = -2147483647;
    print_string("should get -2147483647\ngot: ");
    print_int(x);
    print_string("\n\n");

    // check signed-ness of char -> int conversion
    x = -2147483648;
    print_string("should get -2147483648\ngot: ");
    print_int(x);
    print_string("\n\n");
}

--- 
+++ 
@@ -6,7 +6,7 @@
 
 void main(void){
 
-    // check signed-ness of char -> int conversion
+    /* check signed-ness of char -> int conversion */
     x = -1;
     c = x;
     print_string("should get -1\ngot: ");
@@ -18,7 +18,7 @@
     print_int(x);
     print_string("\n\n");
 
-    // check signed-ness of char -> int conversion
+    /* check signed-ness of char -> int conversion */
     x = -2147483648;
     print_string("should get -2147483648\ngot: ");
     print_int(x);
Edit comments so they align with our C-- spec
