1 /* Test -msave-args */
   2 /* { dg-do compile { target { { i?86-*-solaris2.* } && lp64 } } } */
   3 /* { dg-options "-msave-args" } */
   4 /* { dg-final { scan-assembler "movq\t%rsi, -32\\(%rbp\\)" } } */
   5 /* { dg-final { scan-assembler "movq\t%rsi, -16\\(%rbp\\)" } } */
   6 /* { dg-final { scan-assembler "movq\t%rdi, -8\\(%rbp\\)" } } */
   7 
   8 int
   9 foo(int argc, char **argv)
  10 {
  11     return (1);
  12 }