summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/list/EmptyRemoveAt0.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-04-25 18:03:53 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2012-04-25 18:03:53 (GMT)
commitc4aa5386fb69822e1b131fb95cc11682ed1f5219 (patch)
treeb456ddd1d5dfce609a4d73edc2e129524e67164e /Tests/RunCMake/list/EmptyRemoveAt0.cmake
parentf45d004c0a052646494085b687af6aa1d539c876 (diff)
parent05604eb9cb7ced290af67dcc392f0a9a10e64386 (diff)
downloadCMake-c4aa5386fb69822e1b131fb95cc11682ed1f5219.zip
CMake-c4aa5386fb69822e1b131fb95cc11682ed1f5219.tar.gz
CMake-c4aa5386fb69822e1b131fb95cc11682ed1f5219.tar.bz2
Merge topic 'list-empty-error'
05604eb list: Handle errors on empty lists more gracefully (#13138)
Diffstat (limited to 'Tests/RunCMake/list/EmptyRemoveAt0.cmake')
-rw-r--r--Tests/RunCMake/list/EmptyRemoveAt0.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/list/EmptyRemoveAt0.cmake b/Tests/RunCMake/list/EmptyRemoveAt0.cmake
new file mode 100644
index 0000000..d6a3e85
--- /dev/null
+++ b/Tests/RunCMake/list/EmptyRemoveAt0.cmake
@@ -0,0 +1,2 @@
+set(mylist "")
+list(REMOVE_AT mylist 0)