Fixed a typo in member name; should be m_b, not b_a.

llvm-svn: 114660
This commit is contained in:
Johnny Chen 2010-09-23 16:49:40 +00:00
parent b4e0cc0212
commit 820b4c5153
1 changed files with 2 additions and 2 deletions

View File

@ -137,9 +137,9 @@ main (int argc, char const *argv[])
printf ("(a_class) a_class_instance.m_a = '" T_PRINTF_FORMAT "'\n", a_class_instance.get_a());
printf ("(a_class) a_class_instance.m_b = '" T_PRINTF_FORMAT "'\n", a_class_instance.get_b());
printf ("(a_class*) a_class_ptr = %p, a_class_ptr->m_a = '" T_PRINTF_FORMAT "'\n", a_class_ptr, a_class_ptr->get_a());
printf ("(a_class*) a_class_ptr = %p, a_class_ptr->b_a = '" T_PRINTF_FORMAT "'\n", a_class_ptr, a_class_ptr->get_b());
printf ("(a_class*) a_class_ptr = %p, a_class_ptr->m_b = '" T_PRINTF_FORMAT "'\n", a_class_ptr, a_class_ptr->get_b());
printf ("(a_class&) a_class_ref = %p, a_class_ref.m_a = '" T_PRINTF_FORMAT "'\n", &a_class_ref, a_class_ref.get_a());
printf ("(a_class&) a_class_ref = %p, a_class_ref.b_a = '" T_PRINTF_FORMAT "'\n", &a_class_ref, a_class_ref.get_b());
printf ("(a_class&) a_class_ref = %p, a_class_ref.m_b = '" T_PRINTF_FORMAT "'\n", &a_class_ref, a_class_ref.get_b());
printf ("(a_struct_t) a_struct.a = '" T_PRINTF_FORMAT "'\n", a_struct.a);
printf ("(a_struct_t) a_struct.b = '" T_PRINTF_FORMAT "'\n", a_struct.b);