From 31486e784e11b55207c2aa69ab9e98d34a2513db Mon Sep 17 00:00:00 2001 From: Axel Naumann Date: Mon, 5 Sep 2016 12:48:33 +0200 Subject: [PATCH] Add test against ROOT-8300, fixed by wrapper improvements by Roman. --- test/Prompt/Regression.C | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/Prompt/Regression.C b/test/Prompt/Regression.C index cf4a0809..80ad7f4d 100644 --- a/test/Prompt/Regression.C +++ b/test/Prompt/Regression.C @@ -46,3 +46,7 @@ step // CHECK: (int) 10 gCling->process("#ifdef __UNDEFINED__\n42\n#endif") //CHECK: (cling::Interpreter::CompilationResult) (cling::Interpreter::CompilationResult::kSuccess) : (unsigned int) 0 + +// ROOT-8300 +struct B { static void *fgStaticVar; B(){ printf("B::B()\n"); } }; +B b; // CHECK: B::B()