]> granicus.if.org Git - clang/commitdiff
Test to compile the rewritten file for my last patch.
authorFariborz Jahanian <fjahanian@apple.com>
Mon, 15 Feb 2010 21:37:11 +0000 (21:37 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Mon, 15 Feb 2010 21:37:11 +0000 (21:37 +0000)
(radar 7649577 related).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96274 91177308-0d34-0410-b5e6-96231b3b80d8

test/Rewriter/rewrite-implementation.mm [new file with mode: 0644]

diff --git a/test/Rewriter/rewrite-implementation.mm b/test/Rewriter/rewrite-implementation.mm
new file mode 100644 (file)
index 0000000..608707c
--- /dev/null
@@ -0,0 +1,13 @@
+// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc %s -o %t-rw.cpp
+// RUN: %clang_cc1 -DSEL="void *" -S %t-rw.cpp
+// radar 7649577
+
+@interface a
+@end
+
+@interface b : a
+@end
+
+@implementation b
+@end
+