summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/pself5.c
blob: 8f6f8e3b26f250c0c0a167be767cf5e7596cc54c (plain)
1
2
3
4
5
#include <stdio.h>
#define N '\n'
#define Q '\"'
#define B '\\'
int main(void){char*p="#include <stdio.h>%c#define N '%cn'%c#define Q '%c%c'%c#define B '%c%c'%cint main(void){char*p=%c%s%c;(void)printf(p,N,B,N,B,Q,N,B,B,N,Q,p,Q,N);return 0;}%c";(void)printf(p,N,B,N,B,Q,N,B,B,N,Q,p,Q,N);return 0;}
OpenPOWER on IntegriCloud