blob: 3fb4310d6843204ca2116b9df3f0524fcf1d5abf [file] [log] [blame]
/* PR inline-asm/50571 */
/* { dg-do compile } */
/* { dg-options "-O2" } */
static const int var[4] = { 1, 2, 3, 4 };
void
foo (void)
{
__asm volatile ("" : : "m" (*(int *) var));
}