CMake/Tests/CMakeTests/List-Get-Invalid-Index.cmake

3 lines
58 B
CMake

set(mylist alpha bravo charlie)
list(GET mylist 3 result)