nixpkgs/pkgs/test/stdenv-inputs/include-main.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
195 B
C
Raw Normal View History

#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;
}