diff options
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/two-files/main.m')
-rw-r--r-- | lldb/packages/Python/lldbsuite/test/expression_command/two-files/main.m | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/expression_command/two-files/main.m b/lldb/packages/Python/lldbsuite/test/expression_command/two-files/main.m deleted file mode 100644 index 3f5738314e6..00000000000 --- a/lldb/packages/Python/lldbsuite/test/expression_command/two-files/main.m +++ /dev/null @@ -1,22 +0,0 @@ -#import <Foundation/Foundation.h> -#include <stdio.h> - -extern int AddElement (char *value); -extern char *GetElement (int idx); -extern void *GetArray(); - -int -main () -{ - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - - int idx = AddElement ("some string"); - void *array_token = GetArray(); - - char *string = GetElement (0); // Set breakpoint here, then do 'expr (NSArray*)array_token'. - if (string) - printf ("This: %s.\n", string); - - [pool release]; - return 0; -} |