blob: 40c6de4d8368fd3cff3365841fb7d3a130e4661f [file] [log] [blame]
/* We shouldn't crash trying to produce the inlined structure type die debug info. */
/* { dg-do compile } */
/* { dg-options "-O1 -g" } */
inline void bar(char a[], unsigned int l)
{
asm volatile ("" :: "m" ( *(struct {char x[l]; } *)a));
}
void foo(void)
{
bar (0, 0);
}