[opengtl-commits] [498] add function_expression_complex test |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 498
Author: cyrille
Date: 2008-11-27 00:07:55 +0100 (Thu, 27 Nov 2008)
Log Message:
-----------
add function_expression_complex test
add a test for conflicting variables name
Modified Paths:
--------------
trunk/OpenGTL/OpenCTL/tests/parse/CMakeLists.txt
Added Paths:
-----------
trunk/OpenGTL/OpenCTL/tests/parse/function_name_conflict.ctl
Modified: trunk/OpenGTL/OpenCTL/tests/parse/CMakeLists.txt
===================================================================
--- trunk/OpenGTL/OpenCTL/tests/parse/CMakeLists.txt 2008-11-25 23:19:54 UTC (rev 497)
+++ trunk/OpenGTL/OpenCTL/tests/parse/CMakeLists.txt 2008-11-26 23:07:55 UTC (rev 498)
@@ -32,6 +32,7 @@
function_while_complex_statement.ctl
function_output_variable.ctl
function_use_global_constant.ctl
+ function_expression_complex.ctl
unaryoperator_tilde_integer.ctl
variable_scope.ctl
varying.ctl
@@ -51,6 +52,7 @@
expression_fail_2.ctl
function_empty_parameter_fail.ctl
name_conflict.ctl
+ function_name_conflict.ctl
global_const_non_const_initializer.ctl
function_output_not_variable.ctl
function_out_of_scope.ctl
Added: trunk/OpenGTL/OpenCTL/tests/parse/function_name_conflict.ctl
===================================================================
--- trunk/OpenGTL/OpenCTL/tests/parse/function_name_conflict.ctl (rev 0)
+++ trunk/OpenGTL/OpenCTL/tests/parse/function_name_conflict.ctl 2008-11-26 23:07:55 UTC (rev 498)
@@ -0,0 +1,5 @@
+void f()
+{
+ int var0 = 0;
+ int var0 = 1;
+}
\ No newline at end of file