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