summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/list/GET-InvalidIndex.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/list/GET-InvalidIndex.cmake')
-rw-r--r--Tests/RunCMake/list/GET-InvalidIndex.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/list/GET-InvalidIndex.cmake b/Tests/RunCMake/list/GET-InvalidIndex.cmake
new file mode 100644
index 0000000..178295a
--- /dev/null
+++ b/Tests/RunCMake/list/GET-InvalidIndex.cmake
@@ -0,0 +1,2 @@
+set(mylist alpha bravo charlie)
+list(GET mylist 3 result)