Add test for ROOT-7837.

This commit is contained in:
Axel Naumann 2016-03-04 15:24:33 -05:00 committed by sftnight
parent f8a9fdcfc7
commit 0d827a761a

View File

@ -65,3 +65,10 @@ a[0] // CHECK: ({{.*}} &) "a"
// ROOT-7918
enum H { h = (unsigned long long )-1 };
h // CHECK: (H) (H::h) : (unsigned long{{( long)?}}) 18446744073709551615
// ROOT-7837
auto bla=[](Double_t *x, Double_t *par, Int_t blub){return x[0]*blub;} // CHECK: ((lambda) &) @0x
using namespace std::placeholders;
auto fn_moo = std::bind (bla, _1,_2,10) // CHECK: ERROR in cling::executePrintValue(): this typename cannot be spelled.
// Make sure cling survives
12 // CHECK: (int) 12