summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/Executable/A.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-08-01 14:49:15 (GMT)
committerBrad King <brad.king@kitware.com>2006-08-01 14:49:15 (GMT)
commit1973efbab2d101cd588399aa3dc1a7620a7e2f88 (patch)
tree67b98531bfcda08f871368b68c04878d8b476329 /Tests/ComplexOneConfig/Executable/A.cxx
parent8dda3a2f6e4c9832642f2f6c102897cfca0670b3 (diff)
downloadCMake-1973efbab2d101cd588399aa3dc1a7620a7e2f88.zip
CMake-1973efbab2d101cd588399aa3dc1a7620a7e2f88.tar.gz
CMake-1973efbab2d101cd588399aa3dc1a7620a7e2f88.tar.bz2
ENH: Adding test for source files and header files with the same base name in the same target.
Diffstat (limited to 'Tests/ComplexOneConfig/Executable/A.cxx')
-rw-r--r--Tests/ComplexOneConfig/Executable/A.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/ComplexOneConfig/Executable/A.cxx b/Tests/ComplexOneConfig/Executable/A.cxx
index 7f98319..0cc995a 100644
--- a/Tests/ComplexOneConfig/Executable/A.cxx
+++ b/Tests/ComplexOneConfig/Executable/A.cxx
@@ -1,4 +1,7 @@
+// Include code from a header that should not be compiled separately.
+#include "A.hh"
+
int main()
{
- return 10;
+ return A();
}