diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/cpp0x/defaulted3.C')
-rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/defaulted3.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/cpp0x/defaulted3.C b/gcc/testsuite/g++.dg/cpp0x/defaulted3.C index 75e89c8..33de973 100644 --- a/gcc/testsuite/g++.dg/cpp0x/defaulted3.C +++ b/gcc/testsuite/g++.dg/cpp0x/defaulted3.C @@ -4,7 +4,7 @@ template<class T> struct A { template<class U> - bool operator==(const A<U>&) = delete; // { dg-message "declared" } + bool operator==(const A<U>&) const = delete; // { dg-message "declared" } operator bool () { return true; } }; |