blob: 28c455ab5300c9f0bfb6a50a0e842ef0e956dc50 [file] [log] [blame]
// PR c++/70590
// { dg-do compile { target c++11 } }
// { dg-options "-O2" }
int a;
constexpr int *
foo ()
{
return &a;
}
void blah (int *);
void
bar ()
{
blah (foo ());
}
void
baz ()
{
blah (foo ());
}