diff options
author | Carlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au> | 2012-10-15 17:10:06 +1100 |
---|---|---|
committer | Carlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au> | 2012-10-15 17:10:06 +1100 |
commit | be1de4be954c80875ad4108e0a33e8e131b2f2c0 (patch) | |
tree | 1fbbecf276bf7c7bdcbb4dd446099d6d90eaa516 /clang/test/ARCMT/with space | |
parent | c4626a62754862d20b41e8a46a3574264ea80e6d (diff) | |
parent | f1bd2e48c5324d3f7cda4090c87f8a5b6f463ce2 (diff) |
Merge branch 'master' of ssh://bitbucket.org/czan/honours
Diffstat (limited to 'clang/test/ARCMT/with space')
-rw-r--r-- | clang/test/ARCMT/with space/test.h | 15 | ||||
-rw-r--r-- | clang/test/ARCMT/with space/test.h.result | 13 | ||||
-rw-r--r-- | clang/test/ARCMT/with space/test1.m.in | 6 | ||||
-rw-r--r-- | clang/test/ARCMT/with space/test1.m.in.result | 5 | ||||
-rw-r--r-- | clang/test/ARCMT/with space/test2.m.in | 6 | ||||
-rw-r--r-- | clang/test/ARCMT/with space/test2.m.in.result | 5 |
6 files changed, 50 insertions, 0 deletions
diff --git a/clang/test/ARCMT/with space/test.h b/clang/test/ARCMT/with space/test.h new file mode 100644 index 0000000..756295f --- /dev/null +++ b/clang/test/ARCMT/with space/test.h @@ -0,0 +1,15 @@ +@protocol NSObject +- (oneway void)release; +@end + +#ifdef PART1 +static inline void part1(id p) { + [p release]; +} +#endif + +#ifdef PART2 +static inline void part2(id p) { + [p release]; +} +#endif diff --git a/clang/test/ARCMT/with space/test.h.result b/clang/test/ARCMT/with space/test.h.result new file mode 100644 index 0000000..0638a33 --- /dev/null +++ b/clang/test/ARCMT/with space/test.h.result @@ -0,0 +1,13 @@ +@protocol NSObject +- (oneway void)release; +@end + +#ifdef PART1 +static inline void part1(id p) { +} +#endif + +#ifdef PART2 +static inline void part2(id p) { +} +#endif diff --git a/clang/test/ARCMT/with space/test1.m.in b/clang/test/ARCMT/with space/test1.m.in new file mode 100644 index 0000000..8416a88 --- /dev/null +++ b/clang/test/ARCMT/with space/test1.m.in @@ -0,0 +1,6 @@ +#define PART1 +#include "test.h" + +void test1(id p) { + [p release]; +} diff --git a/clang/test/ARCMT/with space/test1.m.in.result b/clang/test/ARCMT/with space/test1.m.in.result new file mode 100644 index 0000000..f351fe6 --- /dev/null +++ b/clang/test/ARCMT/with space/test1.m.in.result @@ -0,0 +1,5 @@ +#define PART1 +#include "test.h" + +void test1(id p) { +} diff --git a/clang/test/ARCMT/with space/test2.m.in b/clang/test/ARCMT/with space/test2.m.in new file mode 100644 index 0000000..99f87b0 --- /dev/null +++ b/clang/test/ARCMT/with space/test2.m.in @@ -0,0 +1,6 @@ +#define PART2 +#include "test.h" + +void test2(id p) { + [p release]; +} diff --git a/clang/test/ARCMT/with space/test2.m.in.result b/clang/test/ARCMT/with space/test2.m.in.result new file mode 100644 index 0000000..f8e918c --- /dev/null +++ b/clang/test/ARCMT/with space/test2.m.in.result @@ -0,0 +1,5 @@ +#define PART2 +#include "test.h" + +void test2(id p) { +} |