Add a reproducible test case (expression parser crashes) to the lldb test suite.
rdar://problem/9691614.
llvm-svn: 136386
diff --git a/lldb/test/lang/cpp/namespace/main.cpp b/lldb/test/lang/cpp/namespace/main.cpp
index 73fd15f..dfa7a69 100644
--- a/lldb/test/lang/cpp/namespace/main.cpp
+++ b/lldb/test/lang/cpp/namespace/main.cpp
@@ -51,6 +51,7 @@
}
}
+#include <stdio.h>
int Foo::myfunc(int a)
{
::my_uint_t anon_uint = 0;
@@ -59,6 +60,8 @@
Y::uint_t y_uint = 3;
i = 3;
j = 4;
+ printf("::i=%d\n", ::i);
+ printf("A::B::j=%d\n", A::B::j);
return myfunc2(3) + j + i + a + 2 + anon_uint + a_uint + b_uint + y_uint; // Set break point at this line.
}