Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
g++.old-deja
/
g++.robertl
/
eb60.C
blob: ea80a4ce2e1cbec69bcc1f6ff066781f01b1a02b [
file
] [
log
] [
blame
]
// { dg-do assemble }
#include
<string>
class
t
{
public
:
t
(
const
std
::
string
&
s
)
:
s_
(
s
)
{}
std
::
string
s_
;
static
t
*
t_
;
};
t
*
t
::
t_
;
t
*
makeT
()
{
return
new
t
(
"test"
);
return
t
::
t_
?
t
::
t_
:
t
::
t_
=
new
t
(
"test"
);
}