aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/20060609-1.c
blob: a8152c8a5706d294d792e02e4770055fd5e733b1 (plain)
1
2
3
4
5
6
7
/* This test used to ICE on IA64.  */
int __strspn_c2 (__const char *__s, int __accept1, int __accept2)
{
  register long unsigned int __result = 0;
  while (__s[__result] == __accept1 || __s[__result] == __accept2)
  return __result;
}