Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
lto
/
20090315_0.C
blob: 1cae572eeb87fe74bbd867c7497e66c2aea476c5 [
file
] [
log
] [
blame
]
// { dg-lto-do run }
struct
Foo
{
bool
Mumble
()
{
return
true
;
}
static
void
Bar
()
{
if
(
foo_
->
Mumble
())
foo_
=
0
;
}
static
void
Baz
()
{
Bar
();
}
static
Foo
*
foo_
;
};
Foo
*
Foo
::
foo_
;
int
main
()
{
return
0
;
}