summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/pself4.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/pself4.c')
-rw-r--r--contrib/gcc/pself4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/gcc/pself4.c b/contrib/gcc/pself4.c
new file mode 100644
index 0000000..02a6f7c
--- /dev/null
+++ b/contrib/gcc/pself4.c
@@ -0,0 +1,2 @@
+#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;}
OpenPOWER on IntegriCloud