[llvm-branch-commits] [cfe-tag] r95419 - /cfe/tags/cremebrulee/cremebrulee-36.2/test/FixIt/typo-crash.m

Ted Kremenek kremenek at apple.com
Fri Feb 5 11:51:05 PST 2010


Author: kremenek
Date: Fri Feb  5 13:51:04 2010
New Revision: 95419

URL: http://llvm.org/viewvc/llvm-project?rev=95419&view=rev
Log:
Add test case from r95334.

Added:
    cfe/tags/cremebrulee/cremebrulee-36.2/test/FixIt/typo-crash.m

Added: cfe/tags/cremebrulee/cremebrulee-36.2/test/FixIt/typo-crash.m
URL: http://llvm.org/viewvc/llvm-project/cfe/tags/cremebrulee/cremebrulee-36.2/test/FixIt/typo-crash.m?rev=95419&view=auto

==============================================================================
--- cfe/tags/cremebrulee/cremebrulee-36.2/test/FixIt/typo-crash.m (added)
+++ cfe/tags/cremebrulee/cremebrulee-36.2/test/FixIt/typo-crash.m Fri Feb  5 13:51:04 2010
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+
+// <rdar://problem/7605289>
+ at implementation Unknown (Blarg) // expected-error{{cannot find interface declaration for 'Unknown'}}
+- (int)method { return ivar; } // expected-error{{use of undeclared identifier 'ivar'}}
+ at end
+





More information about the llvm-branch-commits mailing list