about summary refs log tree commit diff
path: root/pkgs/test/cc-wrapper/cxx-main.cc
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/cxx-main.cc
parent4d101993bfed0a40caf5e1aaa19cc085f2c7192a (diff)
downloadnixlib-19c46733104c680267a0a0dd3a2e6be893bd52b4.tar
nixlib-19c46733104c680267a0a0dd3a2e6be893bd52b4.tar.gz
nixlib-19c46733104c680267a0a0dd3a2e6be893bd52b4.tar.bz2
nixlib-19c46733104c680267a0a0dd3a2e6be893bd52b4.tar.lz
nixlib-19c46733104c680267a0a0dd3a2e6be893bd52b4.tar.xz
nixlib-19c46733104c680267a0a0dd3a2e6be893bd52b4.tar.zst
nixlib-19c46733104c680267a0a0dd3a2e6be893bd52b4.zip
nixpkgs-tests: add basic test for cc-wrapper
Diffstat (limited to 'pkgs/test/cc-wrapper/cxx-main.cc')
-rw-r--r--pkgs/test/cc-wrapper/cxx-main.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/test/cc-wrapper/cxx-main.cc b/pkgs/test/cc-wrapper/cxx-main.cc
new file mode 100644
index 000000000000..83f704617a46
--- /dev/null
+++ b/pkgs/test/cc-wrapper/cxx-main.cc
@@ -0,0 +1,7 @@
+#include <iostream>
+
+int main(int argc, char **argv)
+{
+  std::cerr << "ok" << std::endl;
+  return 0;
+}