aboutsummaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-05-03 20:26:55 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-05-03 20:26:55 +0000
commit52fd8de56a8a12201c1e6188e1f34d28c3d3398d (patch)
tree69810dbf8f7743a20c29413ac665494c713276b3 /packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test
parent773dd0e6e632d48d7123a321ba86f50847b9afc0 (diff)
downloadsrc-52fd8de56a8a12201c1e6188e1f34d28c3d3398d.tar.gz
src-52fd8de56a8a12201c1e6188e1f34d28c3d3398d.zip
Vendor import of lldb trunk r302069:vendor/lldb/lldb-trunk-r302069
Notes
Notes: svn path=/vendor/lldb/dist/; revision=317769 svn path=/vendor/lldb/lldb-trunk-r302069/; revision=317770; tag=vendor/lldb/lldb-trunk-r302069
Diffstat (limited to 'packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test')
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Foo.h9
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Test.h10
-rw-r--r--packages/Python/lldbsuite/test/lang/objc/conflicting-definition/Test/Test.m8
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
+