Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jpivarski committed Nov 28, 2023
1 parent a3d7245 commit 5d8042e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dev/make-root/uproot-issue-1043.C
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// https://github.com/scikit-hep/uproot5/pull/1043#issuecomment-1827565694

struct Foo { const std::string bar; };
Foo f;
TFile* outfile = TFile::Open("foobar.root", "recreate");
TTree* tree = new TTree("FooBar", "FooBar");
tree->Branch("Foo", &f);
tree->Fill();
outfile->Write();
outfile->Close();
Binary file added src/skhep_testdata/data/uproot-issue-1043.root
Binary file not shown.

0 comments on commit 5d8042e

Please sign in to comment.