From 9a436caa4554587d26d9a8b74bf905bf0fe8f2c0 Mon Sep 17 00:00:00 2001 From: Eric Ludlam Date: Fri, 18 Apr 2014 22:04:42 -0400 Subject: [PATCH] (func): Add local8 with a ternary conditional. --- test/manual/cedet/cedet/semantic/tests/testlocalvars.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/manual/cedet/cedet/semantic/tests/testlocalvars.cpp b/test/manual/cedet/cedet/semantic/tests/testlocalvars.cpp index 61a9f337968..1046e7c5206 100644 --- a/test/manual/cedet/cedet/semantic/tests/testlocalvars.cpp +++ b/test/manual/cedet/cedet/semantic/tests/testlocalvars.cpp @@ -14,10 +14,11 @@ void func() char local5[5] = {'1','2','3','4','5'}; char *local6 = "12345"; char local7 = local.anArray[0]; + char local8 = true ? 10 : 11 ; // Check that all of the above was parsed local//-1- - ; //#1# ("local1" "local2" "local3" "local4" "local5" "local6" "local7") + ; //#1# ("local1" "local2" "local3" "local4" "local5" "local6" "local7" "local8" ) local1.//-2- ; //#2# ("anArray" "member") -- 2.39.2