summary refs log tree commit diff
path: root/pkgs/test/cc-wrapper/foo.c
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2017-09-02 14:00:47 +0200
committerDaiderd Jordan <daiderd@gmail.com>2017-09-10 22:49:39 +0200
commit19c46733104c680267a0a0dd3a2e6be893bd52b4 (patch)
treebd0ed536ebd1932e5088c3d969bd1119f665e9ef /pkgs/test/cc-wrapper/foo.c
parent4d101993bfed0a40caf5e1aaa19cc085f2c7192a (diff)
downloadnixpkgs-19c46733104c680267a0a0dd3a2e6be893bd52b4.tar
nixpkgs-19c46733104c680267a0a0dd3a2e6be893bd52b4.tar.gz
nixpkgs-19c46733104c680267a0a0dd3a2e6be893bd52b4.tar.bz2
nixpkgs-19c46733104c680267a0a0dd3a2e6be893bd52b4.tar.lz
nixpkgs-19c46733104c680267a0a0dd3a2e6be893bd52b4.tar.xz
nixpkgs-19c46733104c680267a0a0dd3a2e6be893bd52b4.tar.zst
nixpkgs-19c46733104c680267a0a0dd3a2e6be893bd52b4.zip
nixpkgs-tests: add basic test for cc-wrapper
Diffstat (limited to 'pkgs/test/cc-wrapper/foo.c')
-rw-r--r--pkgs/test/cc-wrapper/foo.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/test/cc-wrapper/foo.c b/pkgs/test/cc-wrapper/foo.c
new file mode 100644
index 00000000000..8be674be310
--- /dev/null
+++ b/pkgs/test/cc-wrapper/foo.c
@@ -0,0 +1,4 @@
+unsigned int foo(void)
+{
+  return VALUE;
+}