summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/BadZero.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-11-26 21:43:13 (GMT)
committerBrad King <brad.king@kitware.com>2012-11-27 14:12:39 (GMT)
commit07749e3705cfc0105399c4a7a8349ec9f83ba39c (patch)
tree204a97eccfbf03864d61459876ee301dbdb40010 /Tests/RunCMake/GeneratorExpression/BadZero.cmake
parentee96dc76864b899684d62b51edd87d3083e80168 (diff)
downloadCMake-07749e3705cfc0105399c4a7a8349ec9f83ba39c.zip
CMake-07749e3705cfc0105399c4a7a8349ec9f83ba39c.tar.gz
CMake-07749e3705cfc0105399c4a7a8349ec9f83ba39c.tar.bz2
Genex: Ensure that $<0:...> has a parameter.
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/BadZero.cmake')
-rw-r--r--Tests/RunCMake/GeneratorExpression/BadZero.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/BadZero.cmake b/Tests/RunCMake/GeneratorExpression/BadZero.cmake
new file mode 100644
index 0000000..295ab0e
--- /dev/null
+++ b/Tests/RunCMake/GeneratorExpression/BadZero.cmake
@@ -0,0 +1,4 @@
+
+add_custom_target(check ALL COMMAND check
+ $<0>
+ VERBATIM)