mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 08:36:41 +01:00
14 lines
195 B
C
14 lines
195 B
C
|
#include <stdio.h>
|
||
|
#include <foo.h>
|
||
|
#include <bar.h>
|
||
|
|
||
|
int main(int argc, char **argv)
|
||
|
{
|
||
|
if (foo() != 42)
|
||
|
return 1;
|
||
|
if (bar() != 42)
|
||
|
return 1;
|
||
|
fprintf(stderr, "ok\n");
|
||
|
return 0;
|
||
|
}
|