digraph.c revision 8891184b232879b80350fec7e2e7a6ce2f25c9fd
1// RUN: clang -fsyntax-only -verify < %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