From: Eric Ludlam Date: Sat, 19 Apr 2014 02:04:42 +0000 (-0400) Subject: (func): Add local8 with a ternary conditional. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9a436caa4554587d26d9a8b74bf905bf0fe8f2c0;p=emacs.git (func): Add local8 with a ternary conditional. --- 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")