diff options
| author | Fariborz Jahanian <fjahanian@apple.com> | 2011-04-08 18:25:29 +0000 |
|---|---|---|
| committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-04-08 18:25:29 +0000 |
| commit | b7bc34a83aff8af09f2a78aa6d1dcafe18ad8619 (patch) | |
| tree | 8de806a3d2fc84723c0f79e7f669b5ddb3004c2a /test/CodeGenObjCXX | |
| parent | f44a1a04a36453527de2285c402fbe9453184121 (diff) | |
| download | clang-b7bc34a83aff8af09f2a78aa6d1dcafe18ad8619.tar.gz clang-b7bc34a83aff8af09f2a78aa6d1dcafe18ad8619.tar.bz2 clang-b7bc34a83aff8af09f2a78aa6d1dcafe18ad8619.tar.xz | |
Warn for any kind of initialization if initializer does not
implement lhs's protocols. // rdar://9091389.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129142 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjCXX')
| -rw-r--r-- | test/CodeGenObjCXX/references.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGenObjCXX/references.mm b/test/CodeGenObjCXX/references.mm index 8875fd6240..6265c7be76 100644 --- a/test/CodeGenObjCXX/references.mm +++ b/test/CodeGenObjCXX/references.mm @@ -30,7 +30,7 @@ void f(B* b) { @protocol P2 @end @protocol P3 @end @interface foo<P1> {} @end -@interface bar : foo <P1, P2> {} @end +@interface bar : foo <P1, P2, P3> {} @end typedef bar baz; void f5(foo&); void f5b(foo<P1>&); |
