summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig/Executable/A.h
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.h
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.h')
-rw-r--r--Tests/ComplexOneConfig/Executable/A.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/ComplexOneConfig/Executable/A.h b/Tests/ComplexOneConfig/Executable/A.h
new file mode 100644
index 0000000..25c45fc
--- /dev/null
+++ b/Tests/ComplexOneConfig/Executable/A.h
@@ -0,0 +1,4 @@
+// This header should not be compiled directly but through inclusion
+// in A.cxx through A.hh.
+extern int A();
+int A() { return 10; }