Test array printing

git-svn-id: http://root.cern.ch/svn/root/trunk@47175 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
Axel Naumann 2012-11-11 17:17:27 +00:00
parent d0e7ca647f
commit f0f33b18b4

View File

@ -39,6 +39,11 @@ e2
::e1
// CHECK: (E::e1) : (int) -12
// Arrays:
float farr[] = {0.,1.,2.,3.,4.,5.} // CHECK: (float [6]) { 0.000000e+00, 1.000000e+00, 2.000000e+00, 3.000000e+00, 4.000000e+00... }
std::string sarr[3] = {"A", "B", "C"} // CHECK: (std::string [3]) { @0x{{[0-9A-Fa-f]{6,12}.}} c_str: "A", @0x{{[0-9A-Fa-f]{6,12}.}} c_str: "B", @0x{{[0-9A-Fa-f]{6,12}.}} c_str: "C" }
.rawInput
typedef void (*F_t)(int);
.rawInput