From 27b11a9bc0cd58ef3579da5ad24d7a32cc5d4540 Mon Sep 17 00:00:00 2001
From: scott snyder <snyder@bnl.gov>
Date: Fri, 15 Sep 2017 22:05:25 +0200
Subject: [PATCH] DetDescrCondTPCnv: Suppress  undefined behavior sanitizer
 warnings.

Suppress known undefined behavior sanitizer warnings originating in cling.
---
 .../test/DetDescrCondIdentifier_old_cnv_test.cxx               | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/DetectorDescription/DetDescrCond/DetDescrCondTPCnv/test/DetDescrCondIdentifier_old_cnv_test.cxx b/DetectorDescription/DetDescrCond/DetDescrCondTPCnv/test/DetDescrCondIdentifier_old_cnv_test.cxx
index 52545b15ae5..033dfab8762 100644
--- a/DetectorDescription/DetDescrCond/DetDescrCondTPCnv/test/DetDescrCondIdentifier_old_cnv_test.cxx
+++ b/DetectorDescription/DetDescrCond/DetDescrCondTPCnv/test/DetDescrCondIdentifier_old_cnv_test.cxx
@@ -13,6 +13,8 @@
 #undef NDEBUG
 #include "DetDescrCondTPCnv/DetDescrCondIdentifier_old_cnv.h"
 #include "TestTools/leakcheck.h"
+#include "CxxUtils/ubsan_suppress.h"
+#include "TInterpreter.h"
 #include <cassert>
 #include <iostream>
 
@@ -34,6 +36,7 @@ void test1()
 
 int main()
 {
+  CxxUtils::ubsan_suppress ([]() { TInterpreter::Instance(); });
   test1();
   return 0;
 }
-- 
GitLab