1#import <Foundation/Foundation.h>
2
3namespace error {
4int blah;
5}
6
7@interface Util : NSObject
8+ (void)debugPrintErrorStatic;
9- (void)debugPrintError;
10@end
11
12@implementation Util
13+ (void)debugPrintErrorStatic {
14 NSError* error = [NSError errorWithDomain:NSURLErrorDomain code:-1 userInfo:nil];
15 NSLog(@"xxx, error = %@", error); // break here
16}
17
18- (void)debugPrintError {
19 NSError* error = [NSError errorWithDomain:NSURLErrorDomain code:-1 userInfo:nil];
20 NSLog(@"xxx, error = %@", error); // break here
21}
22@end
23

source code of lldb/test/API/commands/expression/namespace_local_var_same_name_obj_c/util.mm