diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2010-11-15 19:10:53 +0000 |
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2010-11-15 19:10:53 +0000 |
| commit | 13e64a741167efc436f49e5712571c6273fa2965 (patch) | |
| tree | 919c2deaf40338f722ea890212d800aa6c7c0df5 | |
| parent | 8ed80e636008e1abd9f8981316d757fe024657c2 (diff) | |
| download | bcm5719-llvm-13e64a741167efc436f49e5712571c6273fa2965.tar.gz bcm5719-llvm-13e64a741167efc436f49e5712571c6273fa2965.zip | |
Check in a test case for rdar://problem/8668740:
'frame variable' output for namespace variables look wrong
llvm-svn: 119172
| -rw-r--r-- | lldb/test/namespace/TestNamespace.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lldb/test/namespace/TestNamespace.py b/lldb/test/namespace/TestNamespace.py index 5c72251252c..640767854d1 100644 --- a/lldb/test/namespace/TestNamespace.py +++ b/lldb/test/namespace/TestNamespace.py @@ -54,6 +54,18 @@ class NamespaceTestCase(TestBase): substrs = ['state is stopped', 'stop reason = breakpoint']) + # rdar://problem/8668740 + # 'frame variable' output for namespace variables look wrong + # (lldb) frame variable + # (int) a = 12 + # (A::B::uint_t) anon_uint = 0 + # (A::B::uint_t) a_uint = 1 + # (A::B::uint_t) b_uint = 2 + # (A::B::uint_t) y_uint = 3 + # (lldb) + self.expect('frame variable', VARIABLES_DISPLAYED_CORRECTLY, + substrs = ['']) + # 'frame variable' with basename 'i' should work. self.expect("frame variable -c -G i", startstr = "main.cpp:%d: (int) (anonymous namespace)::i = 3" % self.line_var_i) |

