[Lldb-commits] [lldb] r113732 - /lldb/trunk/test/class_static/main.cpp
Greg Clayton
gclayton at apple.com
Sun Sep 12 19:31:18 PDT 2010
Author: gclayton
Date: Sun Sep 12 21:31:18 2010
New Revision: 113732
URL: http://llvm.org/viewvc/llvm-project?rev=113732&view=rev
Log:
A few modifications to the class arrays test case.
Modified:
lldb/trunk/test/class_static/main.cpp
Modified: lldb/trunk/test/class_static/main.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/class_static/main.cpp?rev=113732&r1=113731&r2=113732&view=diff
==============================================================================
--- lldb/trunk/test/class_static/main.cpp (original)
+++ lldb/trunk/test/class_static/main.cpp Sun Sep 12 21:31:18 2010
@@ -36,9 +36,16 @@
{ 11, 22 }
};
+static PointType g_points[] =
+{
+ { 3, 4 },
+ { 33, 44 }
+};
+
int
-main ()
+main (int argc, char const *argv[])
{
- printf ("A::g_points[2].x = %i\n", A::g_points[2].x);
+ printf ("A::g_points[1].x = %i\n", A::g_points[1].x);
+ printf ("::g_points[1].x = %i\n", g_points[1].x);
return 0;
}
More information about the lldb-commits
mailing list