nixpkgs-tests: add basic test for cc-wrapper

This commit is contained in:
Daiderd Jordan
2017-09-10 22:49:39 +02:00
parent 4d101993bf
commit 19c4673310
8 changed files with 96 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#include <stdio.h>
extern unsigned int foo(void);
int main(int argc, char **argv)
{
if (foo() != 42) {
return 1;
}
fprintf(stderr, "ok\n");
return 0;
}