Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
typeid1.C
blob: 6df5f71ff780e8501ed0bad4ecd6dc14f5bd0d7f [
file
] [
log
] [
blame
]
// PR c++/55878
#include
<typeinfo>
struct
S
;
template
<
typename
T
>
static
bool
fn
(
S
*
s
)
{
return
typeid
(*
s
)
==
typeid
(
T
);
}
struct
S
{
};
bool
x
=
fn
<
S
>
(
__null
);