Home | History | Annotate | Download | only in Lexer
      1 // RUN: %clang_cc1 -fsyntax-only -verify -ffreestanding %s
      2 // expected-no-diagnostics
      3 
      4 %:include <stdint.h>
      5 
      6     %:ifndef BUFSIZE
      7      %:define BUFSIZE  512
      8     %:endif
      9 
     10     void copy(char d<::>, const char s<::>, int len)
     11     <%
     12         while (len-- >= 0)
     13         <%
     14             d<:len:> = s<:len:>;
     15         %>
     16     %>
     17