producing strange compiler output and failing