| commit | f3833d70bed4d60ef4dec4d1e685c5e1ce3f5fed | [log] [tgz] |
|---|---|---|
| author | Steve Naroff <snaroff@apple.com> | Tue Mar 03 00:45:38 2009 +0000 |
| committer | Steve Naroff <snaroff@apple.com> | Tue Mar 03 00:45:38 2009 +0000 |
| tree | 2bb16a1b70f2daf2030647cf047637a108115467 | |
| parent | cc40a61af76eb3c49ce5b68c2f92076b5989e12b [diff] [blame] |
Fix <rdar://problem/6635908> crash on invalid llvm-svn: 65909
diff --git a/clang/test/SemaObjC/method-no-context.m b/clang/test/SemaObjC/method-no-context.m new file mode 100644 index 0000000..484322e --- /dev/null +++ b/clang/test/SemaObjC/method-no-context.m
@@ -0,0 +1,4 @@ +// RUN: clang -fsyntax-only -verify %s + +- im0 { int a; return 0; // expected-error{{missing context for method declaration}} +// expected-error{{expected '}'}}