aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/c-c++-common/pr56302.c
blob: fb67d1271711e9a4c35fc3da539c01c67696d158 (plain)
1
2
3
4
5
6
7
8
9
/* PR c++/56302 */
/* { dg-do compile } */
/* { dg-options "-O0" } */

void
foo (int x)
{
  __asm__ __volatile__ ("" : : "n" (-1 * (int) sizeof (&x)));
}