diff options
Diffstat (limited to 'clang/test/Rewriter/undeclared-method-1.m')
-rw-r--r-- | clang/test/Rewriter/undeclared-method-1.m | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Rewriter/undeclared-method-1.m b/clang/test/Rewriter/undeclared-method-1.m new file mode 100644 index 0000000..9b4ca19 --- /dev/null +++ b/clang/test/Rewriter/undeclared-method-1.m @@ -0,0 +1,9 @@ +// RUN: %clang_cc1 -rewrite-objc -fobjc-fragile-abi %s -o - + +@interface Derived @end + +int main(void) { + Derived *v ; + [v free]; + return 0; +} |