commit | 70f16246dc0be87dabc42e6ef78b0fbfae3a7388 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Fri Feb 29 21:48:07 2008 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Fri Feb 29 21:48:07 2008 +0000 |
tree | 3a7c23c3c4f6bfecb862878f1537232445b9a753 | |
parent | 9b2e0f98328ac9d4b7d1d88fc38de4374fa69115 [diff] [blame] |
Fix http://llvm.org/bugs/show_bug.cgi?id=2106. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47768 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Sema/missing-method-context.m b/test/Sema/missing-method-context.m new file mode 100644 index 0000000..20437b7 --- /dev/null +++ b/test/Sema/missing-method-context.m
@@ -0,0 +1,4 @@ +// RUN: clang %s -verify -fsyntax-only +- (void)compilerTestAgainst; // expected-error {{missing context for method declaration}} + +void xx(); // expected-error {{expected method body}}