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