gcc/gcc/pself4.c
Zack Weinberg 50e0211ea0 C89-compliant quines
From-SVN: r26768
1999-05-04 15:15:48 +00:00

3 lines
176 B
C

#include <stdio.h>
int main(void){char*p="#include <stdio.h>%cint main(void){char*p=%c%s%c;(void)printf(p,10,34,p,34,10);return 0;}%c";(void)printf(p,10,34,p,34,10);return 0;}