1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-iftoswitch-optimized" } */
3 
isMyRandomCharacter(int aChar)4 int isMyRandomCharacter(int aChar)
5 {
6   return aChar == 0x0001 || aChar == 0x000A ||
7          aChar == 0x000C || aChar == 0x000E ||
8          aChar == 0x0020;
9 }
10 
11 /* { dg-final { scan-tree-dump "Condition chain with \[^\n\r]\* BBs transformed into a switch statement." "iftoswitch" } } */
12