* test/manual/cedet/cedet/semantic/tests/testvarnames.c:
(varorstruct): New struct and variable. (assigntovarorstruct): New
variable that doesn't start with 'var'. (test_1): Add test when
assigning into varorstruct that we get a match.
struct inlinestruct in_var1;
struct inline2struct in_var2;
+/*
+ * Structures (or any types) could have the same name as a variable.
+ * Make sure we complete vars over types.
+ *
+ * See cedet-devel mailing list Dec 23, 2013 for details.
+ */
+struct varorstruct {};
+int varorstruct;
+
+int assigntovarorstruct;
+
int test_1(int var_arg1) {
var_// -1-
; // #10# ( "named_1" "named_2")
in_var2.// -11-
; // #11# ( "named_3" "named_4")
+
+ varorstruct = assign// -12-
+ ; // #12# ( "assigntovarorstruct" )
}