diff --git a/lldb/test/lang/objc/modules/TestObjCModules.py b/lldb/test/lang/objc/modules/TestObjCModules.py index 0c91d0f11a42..d9c5fbaefffc 100644 --- a/lldb/test/lang/objc/modules/TestObjCModules.py +++ b/lldb/test/lang/objc/modules/TestObjCModules.py @@ -73,6 +73,12 @@ class ObjCModulesTestCase(TestBase): self.expect("expr array.count", VARIABLES_DISPLAYED_CORRECTLY, substrs = ["NSUInteger", "3"]) + + self.expect("p *[NSURL URLWithString:@\"http://lldb.llvm.org\"]", VARIABLES_DISPLAYED_CORRECTLY, + substrs = ["NSURL", "isa", "_urlString"]) + + self.expect("p [NSURL URLWithString:@\"http://lldb.llvm.org\"].scheme", VARIABLES_DISPLAYED_CORRECTLY, + substrs = ["http"]) if __name__ == '__main__': import atexit