2014-07-29 Ed Smith-Rowland <3dw4rd@verizon.net>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr50571.c
blob3fb4310d6843204ca2116b9df3f0524fcf1d5abf
1 /* PR inline-asm/50571 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2" } */
5 static const int var[4] = { 1, 2, 3, 4 };
7 void
8 foo (void)
10 __asm volatile ("" : : "m" (*(int *) var));