tcl global directive outside proc body does nothing (ld)
[deliverable/binutils-gdb.git] / ld / testsuite / ld-plugin / pr24406-1.c
CommitLineData
6fe014bc
L
1#include <stdio.h>
2#include <unistd.h>
3
4ssize_t
5__wrap_read (int fd, void *buffer, size_t count)
6{
7 puts ("PASS");
8 return fd + count + sizeof (buffer);
9}
10
11
12int
13main ()
14{
4a41f3fa 15 int i = read (1, "abc", 4);
6fe014bc
L
16 return i == 0;
17}
This page took 0.08207 seconds and 4 git commands to generate.