]> git.eshelyaron.com Git - emacs.git/commitdiff
(func): Add local8 with a ternary conditional.
authorEric Ludlam <zappo@gnu.org>
Sat, 19 Apr 2014 02:04:42 +0000 (22:04 -0400)
committerEdward John Steere <edward.steere@gmail.com>
Wed, 25 Jan 2017 15:48:36 +0000 (17:48 +0200)
test/manual/cedet/cedet/semantic/tests/testlocalvars.cpp

index 61a9f337968d4ceaed116e855cfaa7f3993f303a..1046e7c5206f4b86c8746ef856f55ac1ab9b264b 100644 (file)
@@ -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")