leo@s514.ipmce.su (Leonid A. Broukhis) (03/13/91)
In article <1991Mar10.231230.17301@casbah.acns.nwu.edu> olsen@casbah.acns.nwu.edu (Jeff Olsen) writes: > >sure... > >*a="*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);} > >I tried it with MSC 6.0 and whatever the default cc is on a encore >multimax. GCC doesn't appear to like it, though. > Especially gcc -ansi -pedantic !! I don't like even int*a= ...., because I tried it on a word-oriented machine, which has different forms of int* and char* ... -- Leonid A. Broukhis | 89-1-95 Liberty St. | "BROUKHIS" is Hebrew for 7+095 494.6241 (h) | Moscow 123481 USSR | "BENEDICTAE" 7+095 132.9475 (o) | (leo@s514.ipmce.su) | {Licet omnia qualibet dicas}
pld@hpfcso.FC.HP.COM (Paul Dineen) (03/17/91)
> (Btw, what about lisp's shortest self-repro programs "T", "0", "1", "2", ...)
((lambda (x) (list x
(list (quote quote) x)))
(quote (lambda (x)
(list x
(list (quote quote) x)))))
-- Will Clinger