Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1490)

Unified Diff: gcc/gcc/testsuite/g++.dg/template/overload9.C

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/template/nontype9.C ('k') | gcc/gcc/testsuite/g++.dg/template/ptrmem4.C » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gcc/gcc/testsuite/g++.dg/template/overload9.C
diff --git a/gcc/gcc/testsuite/g++.dg/template/overload9.C b/gcc/gcc/testsuite/g++.dg/template/overload9.C
index cef8ebe9fc801008f85f86c9236c09d7df847f43..8aeab9eaa8e9365319c287d93ad67a60b4d10ab6 100644
--- a/gcc/gcc/testsuite/g++.dg/template/overload9.C
+++ b/gcc/gcc/testsuite/g++.dg/template/overload9.C
@@ -7,12 +7,12 @@ template <typename T> A<T>& operator<<(A<T>&, const B<T>&);
template <typename T>
struct A
{
- A<T>& operator<<(A<T>& (*)(A<T>&)); // { dg-message "candidate" }
+ A<T>& operator<<(A<T>& (*)(A<T>&));
};
template <typename T> A<T>& foo(A<T>&);
extern A<char> c;
int main () {
- c << (1, foo); // { dg-error "no match" }
+ c << (1, foo); // { dg-error "no context" }
}
« no previous file with comments | « gcc/gcc/testsuite/g++.dg/template/nontype9.C ('k') | gcc/gcc/testsuite/g++.dg/template/ptrmem4.C » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698