Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;
}