digraph.c revision a5728872c7702ddd09537c95bc3cbd20e1f2fb09
1// RUN: %clang_cc1 -fsyntax-only -verify < %s
2
3%:include <stdint.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