modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/20031203-1.c (about)

     1  void make_file_symbol_completion_list (char *);
     2  /* This tests to make sure PRE doesn't choose the wrong name when
     3     inserting phi nodes.  Otherwise, we get uses that aren't dominated
     4     by defs.  
     5     PR 13177.  */
     6  void location_completer (char *text)
     7  {
     8  	char *p, *symbol_start = text;
     9  	for (p = text; *p != '\0'; ++p) {
    10  		if (*p == '\\' && p[1] == '\'')
    11  			p++;
    12  		else if (*p == ':')
    13  			symbol_start = p + 1;
    14  		else 
    15  			symbol_start = p + 1;
    16  		make_file_symbol_completion_list(symbol_start);
    17  	}
    18  }
    19  
    20