blob: 945bf020f0ebb139adfe86fa34529d2292b18763 [file] [log] [blame]
// PR c++/56302
// { dg-do compile { target c++11 } }
// { dg-options "-O0" }
constexpr int foo () { return 42; }
constexpr int x = foo () + 2;
void
bar ()
{
__asm ("" : : "n" (x), "n" (foo () * 7 + x));
}