diff options
Diffstat (limited to 'lldb')
| -rw-r--r-- | lldb/test/lang/objc/objc-runtime-ivars/TestRuntimeIvars.py | 4 | ||||
| -rw-r--r-- | lldb/test/lang/objc/objc-runtime-ivars/main.m | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/lldb/test/lang/objc/objc-runtime-ivars/TestRuntimeIvars.py b/lldb/test/lang/objc/objc-runtime-ivars/TestRuntimeIvars.py new file mode 100644 index 00000000000..356979f0248 --- /dev/null +++ b/lldb/test/lang/objc/objc-runtime-ivars/TestRuntimeIvars.py @@ -0,0 +1,4 @@ +import lldbinline +import lldbtest + +lldbinline.MakeInlineTest(__file__, globals(), [lldbtest.skipIfFreeBSD,lldbtest.skipIfLinux,lldbtest.skipIfWindows]) diff --git a/lldb/test/lang/objc/objc-runtime-ivars/main.m b/lldb/test/lang/objc/objc-runtime-ivars/main.m new file mode 100644 index 00000000000..e2d77fe9b8c --- /dev/null +++ b/lldb/test/lang/objc/objc-runtime-ivars/main.m @@ -0,0 +1,10 @@ +#import <Foundation/Foundation.h> + +int main () +{ + @autoreleasepool + { + NSLog(@"Hello"); //% self.expect("expression -- *((NSConcretePointerArray*)[NSPointerArray strongObjectsPointerArray])", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ["count", "capacity", "options", "mutations"]); + //% self.expect("expression -- ((NSConcretePointerArray*)[NSPointerArray strongObjectsPointerArray])->count", DATA_TYPES_DISPLAYED_CORRECTLY, substrs = ["unsigned long long"]); + } +} |

