summaryrefslogtreecommitdiffstats
path: root/test/Lexer/digraph.c
blob: 4d494ca1dd9429c436e919c1d4fb3edc6514db4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: clang-cc -fsyntax-only -verify < %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:>;
        %>
    %>
OpenPOWER on IntegriCloud