1int sext(int x)
2{
3 return (x << 5) >> 5;
4}
5
6/*
7 * check-name: sext
8 * check-command: test-linearize -Wno-decl $file
9 *
10 * check-output-ignore
11 * check-output-excludes: sext\\.
12 * check-output-contains: asr\\.32
13 * check-output-contains: shl\\.32
14 */
15