CMake/Tests/CMakeTests/List-Get-Invalid-Index.cmake
Petr Kmoch 1b078c304d Add tests for list() invalid arguments
Add tests for error reporting when list() arguments are invalid.
2012-11-02 17:08:49 +01:00

3 lines
58 B
CMake

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