|
|
coherent
main()
{
unsigned short foo, bar;
bar = (unsigned short) -1;
/*
* BUG
* ( foo = bar) is being treated as (long).
*/
if (((unsigned short)(foo = bar)) == (unsigned short) -1) {
printf("Everything is OK.\n");
} else {
printf("Compiler bug.\n");
}
} /* main() */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.