Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/pr19345.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* 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); }