summaryrefslogtreecommitdiffstats
path: root/cmakemodules/TestSetenv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cmakemodules/TestSetenv.cxx')
-rw-r--r--cmakemodules/TestSetenv.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmakemodules/TestSetenv.cxx b/cmakemodules/TestSetenv.cxx
new file mode 100644
index 0000000..16f4d0f
--- /dev/null
+++ b/cmakemodules/TestSetenv.cxx
@@ -0,0 +1,7 @@
+#include <stdlib.h>
+
+int main(int,char**)
+{
+ ::setenv("testvalue","1",0);
+ return 0;
+}