repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git]
/
pkgs
/
test
/
stdenv-inputs
/
lib-main.c
blob
c9488fe43e559483832e67d897aa23a09c1c986b
1
#include <stdio.h>
2
3
extern
unsigned int
foo
(
void
);
4
extern
unsigned int
bar
(
void
);
5
6
int
main
(
int
argc
,
char
**
argv
)
7
{
8
if
(
foo
() !=
42
)
9
return
1
;
10
if
(
bar
() !=
42
)
11
return
1
;
12
fprintf
(
stderr
,
"ok
\n
"
);
13
return
0
;
14
}