summaryrefslogtreecommitdiff
path: root/test/SemaObjCXX
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-08-14 00:00:44 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-08-14 00:00:44 +0000
commit72a36a14b10c18bc72bf0472dc29e86327615c26 (patch)
tree47456cb023fa2a4e62eff4b557d7567db579ee00 /test/SemaObjCXX
parentdc25f8cf9e14b424708af52786af7fcf26445dee (diff)
downloadclang-72a36a14b10c18bc72bf0472dc29e86327615c26.tar.gz
Don't produce duplicate notes if we have deduction failure notes when resolving
the address of an overloaded function template. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaObjCXX')
-rw-r--r--test/SemaObjCXX/arc-nsconsumed-errors.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/SemaObjCXX/arc-nsconsumed-errors.mm b/test/SemaObjCXX/arc-nsconsumed-errors.mm
index c1ce81b669..c78d8a5f4a 100644
--- a/test/SemaObjCXX/arc-nsconsumed-errors.mm
+++ b/test/SemaObjCXX/arc-nsconsumed-errors.mm
@@ -29,8 +29,7 @@ void releaser(__attribute__((ns_consumed)) id);
releaser_t r2 = releaser; // no-warning
template <typename T>
-void templateFunction(T) { } // expected-note {{candidate function}} \
- // expected-note {{candidate template ignored: could not match 'void (__strong id)' against 'void (id)'}} \
+void templateFunction(T) { } // expected-note {{candidate template ignored: could not match 'void (__strong id)' against 'void (id)'}} \
// expected-note {{candidate template ignored: failed template argument deduction}}
releaser_t r3 = templateFunction<id>; // expected-error {{address of overloaded function 'templateFunction' does not match required type 'void (id)'}}