mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 07:48:02 -06:00
7 lines
152 B
C++
Generated
7 lines
152 B
C++
Generated
#include <typeinfo>
|
|
|
|
int foo() { return 42; }
|
|
int bar() { return typeid(int).name()[0]; }
|
|
class baz_t {};
|
|
int baz() { return typeid(baz_t).name()[0]; }
|