diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-12-07 15:32:12 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-12-07 15:32:12 +0000 |
commit | 4da9d68da086e648bf67acbbb4d896b7e7567858 (patch) | |
tree | f1dbf9ba055cff6acbc73a237ac5e35c9902284c /clang/test | |
parent | 0017c5fa92ad3b10e15fd34f3865e8e5b850a5ed (diff) | |
download | bcm5719-llvm-4da9d68da086e648bf67acbbb4d896b7e7567858.tar.gz bcm5719-llvm-4da9d68da086e648bf67acbbb4d896b7e7567858.zip |
Implement ASTImporter support for Objective-C category implementations.
llvm-svn: 121139
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/ASTMerge/Inputs/category1.m | 9 | ||||
-rw-r--r-- | clang/test/ASTMerge/Inputs/category2.m | 8 |
2 files changed, 17 insertions, 0 deletions
diff --git a/clang/test/ASTMerge/Inputs/category1.m b/clang/test/ASTMerge/Inputs/category1.m index ade1c6c66da..6d4fd8d9f28 100644 --- a/clang/test/ASTMerge/Inputs/category1.m +++ b/clang/test/ASTMerge/Inputs/category1.m @@ -23,3 +23,12 @@ @interface I2 () - (int)method3; @end + +// Category with implementation +@interface I2 (Cat3) +@end + +// Category with implementation +@interface I2 (Cat4) +@end + diff --git a/clang/test/ASTMerge/Inputs/category2.m b/clang/test/ASTMerge/Inputs/category2.m index f66c208680c..646ebb557ab 100644 --- a/clang/test/ASTMerge/Inputs/category2.m +++ b/clang/test/ASTMerge/Inputs/category2.m @@ -25,3 +25,11 @@ typedef int Int; @interface I2 () - (float)method3; @end + +// Category with implementation +@interface I2 (Cat3) +@end + +// Category with implementation +@interface I2 (Cat5) +@end |