Skip to content

Commit c75d1e9

Browse files
committed
[aclic] Add test triggering RVec uninitialized warning
1 parent 0be6ecb commit c75d1e9

3 files changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
ROOTTEST_ADD_TEST(rvec_uninitialized
2+
MACRO rvec_uninitialized.C+
3+
OUTREF rvec_uninitialized.ref)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include <ROOT/RVec.hxx>
2+
3+
struct RVecUninitialized {
4+
ROOT::RVec<bool> v;
5+
};
6+
7+
void rvec_uninitialized() {}

roottest/root/aclic/rvec_uninitialized/rvec_uninitialized.ref

Whitespace-only changes.

0 commit comments

Comments
 (0)