Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
a3bfc4ad538575f0489da52779d15adcdf2774ed
/
.
/
test
/
cases
/
bug-1285c.cpp
blob: edf4e603e7d1786cceb5343f49fee77324ff81be [
file
] [
log
] [
blame
] [
raw
]
#include
<typeinfo>
int
foo
()
{
return
42
;
}
int
bar
()
{
return
typeid
(
int
).
name
()[
0
];
}
class
baz_t
{};
int
baz
()
{
return
typeid
(
baz_t
).
name
()[
0
];
}