summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeOnly/CheckSymbolExists/cm_cse.h
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2012-01-02 22:04:42 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2012-01-16 19:52:29 (GMT)
commit8e1f376782be078407f926c042f07c789e073856 (patch)
tree6b5708aa47f0f564b9dc82beb8743eaf3532c70d /Tests/CMakeOnly/CheckSymbolExists/cm_cse.h
parent813eca64160509465c0e557aa98c9b0f828e47a9 (diff)
downloadCMake-8e1f376782be078407f926c042f07c789e073856.zip
CMake-8e1f376782be078407f926c042f07c789e073856.tar.gz
CMake-8e1f376782be078407f926c042f07c789e073856.tar.bz2
add a test for Check{,CXX}SymbolExists
Now that we think that CheckSymbolExists really works for all cases it is time to prove that. If this code fails too many other things will break.
Diffstat (limited to 'Tests/CMakeOnly/CheckSymbolExists/cm_cse.h')
-rw-r--r--Tests/CMakeOnly/CheckSymbolExists/cm_cse.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/CMakeOnly/CheckSymbolExists/cm_cse.h b/Tests/CMakeOnly/CheckSymbolExists/cm_cse.h
new file mode 100644
index 0000000..4f41c76
--- /dev/null
+++ b/Tests/CMakeOnly/CheckSymbolExists/cm_cse.h
@@ -0,0 +1,6 @@
+#ifndef _CSE_DUMMY_H
+#define _CSE_DUMMY_H
+
+int non_existent_function_for_symbol_test();
+
+#endif