repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
etc/services - sync with NetBSD-8
[minix.git]
/
external
/
bsd
/
llvm
/
dist
/
clang
/
test
/
Lexer
/
digraph.c
blob
e940caf44f4b50d7bee70bf44cc155db5d56bf2e
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
%>