blob: 25afe3a13856a5db0d18c20ee493de02ed837927 [file] [log] [blame]
/* { dg-do compile { target { ! ia32 } } } */
/* { dg-options "-O2" } */
struct small{ short a; };
void call_func(void)
{
extern int func(struct small X);
static struct small const s = { 2 };
func(s);
}
/* { dg-final { scan-assembler "movl\[ \\t]*\\\$2, " } } */
/* { dg-final { scan-assembler-not "movzwl" } } */