Rivoreo Source Code Repositories
src.rivoreo.one
/
compiler-explorer
/
97e7e137587125965d111618c87fccc0488ee508
/
.
/
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
];
}