blob: 4d494ca1dd9429c436e919c1d4fb3edc6514db4e [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -fsyntax-only -verify < %s
Chris Lattner146ccd42008-02-24 19:05:57 +00002
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 %>