summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/cmake_parse_arguments/BadArgvN1.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/cmake_parse_arguments/BadArgvN1.cmake')
-rw-r--r--Tests/RunCMake/cmake_parse_arguments/BadArgvN1.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/cmake_parse_arguments/BadArgvN1.cmake b/Tests/RunCMake/cmake_parse_arguments/BadArgvN1.cmake
new file mode 100644
index 0000000..f894130
--- /dev/null
+++ b/Tests/RunCMake/cmake_parse_arguments/BadArgvN1.cmake
@@ -0,0 +1,4 @@
+function(test1)
+ cmake_parse_arguments(PARSE_ARGV 0 pref "" "" "" extra)
+endfunction()
+test1()