xref: /minix3/external/bsd/llvm/dist/clang/test/Lexer/digraph.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
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