summaryrefslogtreecommitdiff
path: root/test/SemaCXX/self-comparison.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/self-comparison.cpp')
-rw-r--r--test/SemaCXX/self-comparison.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/self-comparison.cpp b/test/SemaCXX/self-comparison.cpp
index e20706a8b6..95b830c910 100644
--- a/test/SemaCXX/self-comparison.cpp
+++ b/test/SemaCXX/self-comparison.cpp
@@ -5,7 +5,7 @@ int foo(int x) {
}
struct X {
- bool operator==(const X &x);
+ bool operator==(const X &x) const;
};
struct A {