summaryrefslogtreecommitdiffstats
path: root/test/Lexer/digraph.c
blob: b8a99bbae151f163de1c87e1b87ff5922d7b189c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang_cc1 -fsyntax-only -verify < %s

%:include <stdint.h>

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

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