1 // Test that the typeid name for a local class is properly null-terminated.
10 struct A {}; struct B {};
11 const std::type_info &ti = typeid(A);
12 const std::type_info &ti2 = typeid(B);
15 return strcmp (ti.name(), "Z1fvE1A") || strcmp (ti2.name(), "Z1fvE1B");