summaryrefslogtreecommitdiff
path: root/clang/test/Rewriter/rewrite-api-bug.m
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Rewriter/rewrite-api-bug.m')
-rw-r--r--clang/test/Rewriter/rewrite-api-bug.m11
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/test/Rewriter/rewrite-api-bug.m b/clang/test/Rewriter/rewrite-api-bug.m
new file mode 100644
index 0000000..ebaa0be
--- /dev/null
+++ b/clang/test/Rewriter/rewrite-api-bug.m
@@ -0,0 +1,11 @@
+// RUN: %clang_cc1 -rewrite-objc -fobjc-fragile-abi %s -o -
+
+@interface MyDerived
+- (void) instanceMethod;
+@end
+
+@implementation MyDerived
+- (void) instanceMethod {
+}
+@end
+