Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
g++.dg
/
pr70590.C
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
());
}