digraph.c revision e3eac778a7085006c86f46e62a457014c8f32555
1// RUN: clang -fsyntax-only %s
2
3%:include <stdio.h>
4
5    %:ifndef BUFSIZE
6     %:define BUFSIZE  512
7    %:endif
8
9    void copy(char d<::>, const char s<::>, int len)
10    <%
11        while (len-- >= 0)
12        <%
13            d<:len:> = s<:len:>;
14        %>
15    %>
16