summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr12578.c
blob: 69afffe00d2c16bd3ebe6e7a0a29e0de5bce4e30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*  PR tree-optimization/12517  */

void trivial_regexp_p(int *s, int len)
{
    while (--len) {
	switch (*s++) {
	    case '\\':
		switch (*s++) {
		    case '|':
			;
		}
	}
    }
}