blob: 488620065ee4f75cbee402d54aee741020df4ebe [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 *);
int
bar ()
{
blah (foo ());
}
int
baz ()
{
blah (foo ());
}