Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions roottest/root/rint/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,10 @@ ROOTTEST_ADD_TEST(fileBeforeCommand
COPY_TO_BUILDDIR t_ddsimUserPlugins.root
FAILREGEX "undeclared identifier 'EVENT'"
PASSRC 10)

# issue 14198
if(NOT (APPLE AND CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "x86_64"))
ROOTTEST_ADD_TEST(valPrinterTypeId
MACRO valPrinterTypeId.C
OUTREF valPrinterTypeId${ref_suffix})
endif()
5 changes: 5 additions & 0 deletions roottest/root/rint/valPrinterTypeId.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
void valPrinterTypeId()
{
gInterpreter->ProcessLine("std::type_index(typeid(TObject)).name()");
gInterpreter->ProcessLine("std::type_index(typeid(int)).name()");
}
2 changes: 2 additions & 0 deletions roottest/root/rint/valPrinterTypeId.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(const char *) "7TObject"
(const char *) "i"
2 changes: 2 additions & 0 deletions roottest/root/rint/valPrinterTypeId_win32.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(const char *) "class TObject"
(const char *) "int"
2 changes: 2 additions & 0 deletions roottest/root/rint/valPrinterTypeId_win64.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(const char *) "class TObject"
(const char *) "int"
Loading