summaryrefslogtreecommitdiffstats
path: root/Tests/SourceGroups/main.c
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2020-05-10 08:04:17 (GMT)
committerCraig Scott <craig.scott@crascit.com>2020-05-10 22:15:25 (GMT)
commitfaf44a8cdb122065b2d36ac415561df679a94872 (patch)
treec6a424305948fb9c2c0b887e69395a278087da9b /Tests/SourceGroups/main.c
parent8afac758e6e793a0f004ce2693b0096362391cd9 (diff)
downloadCMake-faf44a8cdb122065b2d36ac415561df679a94872.zip
CMake-faf44a8cdb122065b2d36ac415561df679a94872.tar.gz
CMake-faf44a8cdb122065b2d36ac415561df679a94872.tar.bz2
source_group: Support forward slashes in group hierarchy
Fixes: #18076
Diffstat (limited to 'Tests/SourceGroups/main.c')
-rw-r--r--Tests/SourceGroups/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/SourceGroups/main.c b/Tests/SourceGroups/main.c
index 87225f5..f646b49 100644
--- a/Tests/SourceGroups/main.c
+++ b/Tests/SourceGroups/main.c
@@ -12,6 +12,7 @@ extern int tree_empty_prefix_bar(void);
extern int tree_bar(void);
extern int tree_foobar(void);
extern int tree_baz(void);
+extern int nested(void);
int main()
{
@@ -23,5 +24,8 @@ int main()
"tree_empty_prefix_bar: %d\n",
tree_prefix_foo(), tree_prefix_bar(), tree_bar(), tree_foobar(),
tree_baz(), tree_empty_prefix_foo(), tree_empty_prefix_bar());
+
+ printf("nested: %d\n", nested());
+
return 0;
}