blob: cc2fe9480093b054fb0d0fa6705253bb9f852ca0 [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 "pushl\[ \\t]*\\\$2" } } */
/* { dg-final { scan-assembler-not "movzwl" } } */