/* Minimal compiler test for C compiler.

Semantic mistakes like these are common enough that any compiler MUST produce warnings
like those in the comments if it is to be used for more than "hello, world".

*/

#include <stdlib.h> // for exit()


int
main (void)
{
    char ch = "A";     // warning: initialization makes pointer from integer without a cast
    const char * st = 'A'; // warning: initialization makes pointer from integer without a cast

  exit ((int)(ch+st));
}
