summaryrefslogtreecommitdiffstats
path: root/Tests/SourceGroups/main.c
diff options
context:
space:
mode:
authorMateusz Janek <stryku2393@gmail.com>2018-01-25 06:28:53 (GMT)
committerBrad King <brad.king@kitware.com>2018-01-30 17:49:26 (GMT)
commit365e02e73ea9e6177ff5fb6de73e4187eded8afc (patch)
treebfb085db9b540882fdc0aa8fa90a62f60b18e617 /Tests/SourceGroups/main.c
parente07cf68f46a8383466e7ef4cab1e33e035525c71 (diff)
downloadCMake-365e02e73ea9e6177ff5fb6de73e4187eded8afc.zip
CMake-365e02e73ea9e6177ff5fb6de73e4187eded8afc.tar.gz
CMake-365e02e73ea9e6177ff5fb6de73e4187eded8afc.tar.bz2
source_group: Fix TREE argument parsing
Fixes: #17581
Diffstat (limited to 'Tests/SourceGroups/main.c')
-rw-r--r--Tests/SourceGroups/main.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/Tests/SourceGroups/main.c b/Tests/SourceGroups/main.c
index 4d84cf2..87225f5 100644
--- a/Tests/SourceGroups/main.c
+++ b/Tests/SourceGroups/main.c
@@ -7,6 +7,8 @@ extern int barbar(void);
extern int baz(void);
extern int tree_prefix_foo(void);
extern int tree_prefix_bar(void);
+extern int tree_empty_prefix_foo(void);
+extern int tree_empty_prefix_bar(void);
extern int tree_bar(void);
extern int tree_foobar(void);
extern int tree_baz(void);
@@ -17,8 +19,9 @@ int main()
foobar(), barbar(), baz());
printf("tree_prefix_foo: %d tree_prefix_bar: %d tree_bar: %d tree_foobar: "
- "%d tree_baz: %d\n",
+ "%d tree_baz: %d tree_empty_prefix_foo: %d "
+ "tree_empty_prefix_bar: %d\n",
tree_prefix_foo(), tree_prefix_bar(), tree_bar(), tree_foobar(),
- tree_baz());
+ tree_baz(), tree_empty_prefix_foo(), tree_empty_prefix_bar());
return 0;
}