]> granicus.if.org Git - clang/commitdiff
test case for my very last patch.
authorFariborz Jahanian <fjahanian@apple.com>
Thu, 6 Dec 2007 17:43:04 +0000 (17:43 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Thu, 6 Dec 2007 17:43:04 +0000 (17:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44662 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/undeclared-method-1.m [new file with mode: 0644]

diff --git a/test/Sema/undeclared-method-1.m b/test/Sema/undeclared-method-1.m
new file mode 100644 (file)
index 0000000..156004f
--- /dev/null
@@ -0,0 +1,9 @@
+// RUN: clang -rewrite-test %s
+
+@interface Derived @end
+
+int main(void) {
+  Derived *v ;
+  [v free];
+  return 0;
+}