diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-05-03 20:26:55 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-05-03 20:26:55 +0000 |
| commit | 52fd8de56a8a12201c1e6188e1f34d28c3d3398d (patch) | |
| tree | 69810dbf8f7743a20c29413ac665494c713276b3 /packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test | |
| parent | 773dd0e6e632d48d7123a321ba86f50847b9afc0 (diff) | |
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test')
3 files changed, 27 insertions, 0 deletions
diff --git a/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Foo.h b/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Foo.h new file mode 100644 index 000000000000..db07f50d5d60 --- /dev/null +++ b/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Foo.h @@ -0,0 +1,9 @@ +#ifndef __Foo_h__ +#define __Foo_h__ + +typedef struct { + float start; + float duration; +} CMTimeRange; + +#endif diff --git a/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Test.h b/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Test.h new file mode 100644 index 000000000000..73928c5fb0da --- /dev/null +++ b/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Test.h @@ -0,0 +1,10 @@ +#import <Foundation/Foundation.h> +#import <Test/Foo.h> + +@interface Test : NSObject { +@public + CMTimeRange _range; +} +- (void) doTest; +@end + diff --git a/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Test.m b/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Test.m new file mode 100644 index 000000000000..6b2cb3af8086 --- /dev/null +++ b/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Test.m @@ -0,0 +1,8 @@ +#import "Test.h" + +@implementation Test +- (void) doTest { + NSLog(@"-[Test doTest]"); +} +@end + |
