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