• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // because of the cast to char, the fist arg should be eliminated
2 // and the whole reduced to TRUNC(%arg2, 8)
3 
foo(int a,int b)4 char foo(int a, int b)
5 {
6 	return (a << 8) | b;
7 }
8 
9 /*
10  * check-name: trunc-or-shl
11  * check-command: test-linearize -Wno-decl $file
12  * check-known-to-fail
13  *
14  * check-output-ignore
15  * check-output-excludes: %arg1
16  * check-output-contains: trunc\\..*%arg2
17  */
18