aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Lexer/digraph.cpp
blob: 07c085a1d55da3d31a2614658ab34f8a947b98d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: clang -fsyntax-only %s

%:include <stdio.h>

    %:ifndef BUFSIZE
     %:define BUFSIZE  512
    %:endif

    void copy(char d<::>, const char s<::>, int len)
    <%
        while (len-- >= 0)
        <%
            d<:len:> = s<:len:>;
        %>
    %>