1 int foo(int a)
   2 {
   3         switch (a) {
   4                 int u = 1;
   5 
   6         default:
   7                 return a;
   8         }
   9 }
  10 
  11 /*
  12  * check-name: unused-var
  13  * check-command: test-linearize -Wno-decl $file
  14  *
  15  * check-output-start
  16 foo:
  17 .L0:
  18         <entry-point>
  19         ret.32      %arg1
  20 
  21 
  22  * check-output-end
  23  */