summaryrefslogtreecommitdiffstats
path: root/Tests/GhsMultiDuplicateSourceFilenames/subfolder
diff options
context:
space:
mode:
authorGeoff Viola <geoffrey.viola@asirobots.com>2016-04-24 19:47:48 (GMT)
committerBrad King <brad.king@kitware.com>2016-04-25 14:46:09 (GMT)
commit1703a6d2c46cc7981dd80bd18d7c2e82ec5d9f82 (patch)
tree5b839beb4d5ca5aeaccccd4c42ea623a629e9470 /Tests/GhsMultiDuplicateSourceFilenames/subfolder
parent657a446175c1b61999a77958c5b7480f8be041a5 (diff)
downloadCMake-1703a6d2c46cc7981dd80bd18d7c2e82ec5d9f82.zip
CMake-1703a6d2c46cc7981dd80bd18d7c2e82ec5d9f82.tar.gz
CMake-1703a6d2c46cc7981dd80bd18d7c2e82ec5d9f82.tar.bz2
GHS: Fix handling of duplicate source filenames (#16046)
Green Hills MULTI project files must specify explicitly distinct object file names for source files with the same name.
Diffstat (limited to 'Tests/GhsMultiDuplicateSourceFilenames/subfolder')
-rw-r--r--Tests/GhsMultiDuplicateSourceFilenames/subfolder/test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/GhsMultiDuplicateSourceFilenames/subfolder/test.c b/Tests/GhsMultiDuplicateSourceFilenames/subfolder/test.c
new file mode 100644
index 0000000..e1372b9
--- /dev/null
+++ b/Tests/GhsMultiDuplicateSourceFilenames/subfolder/test.c
@@ -0,0 +1,5 @@
+
+int test_b()
+{
+ return 2;
+}