commit | 75e3606728e30e00b3be0779243b55305e167828 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Fri Apr 03 18:38:42 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Fri Apr 03 18:38:42 2009 +0000 |
tree | 55ad4b5dc8db50966574e5ba34a5ed8027c40a51 | |
parent | ff9b446dd1db0ed3a89403373df83b0da81dc6f5 [diff] [blame] |
add fixit advice to an archiac ObjC issue. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68395 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/FixIt/fixit-objc.m b/test/FixIt/fixit-objc.m new file mode 100644 index 0000000..baef233 --- /dev/null +++ b/test/FixIt/fixit-objc.m
@@ -0,0 +1,8 @@ +// RUN: clang-cc -fsyntax-only -fixit-at=fixit-at.c:3:1 %s -o %t.m && +// RUN: clang-cc -verify %t.m + +@protocol X; + +void foo() { + <X> *P; // should be fixed to 'id<X>'. +}