Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20031203-1.c
blob70547fdfe5225faca8d30f789320ef1de708f9b6
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)
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);