Note location of operators caused the circularity.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83153 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/SemaCXX/overloaded-operator.cpp b/test/SemaCXX/overloaded-operator.cpp
index 31da58d..8471f3c 100644
--- a/test/SemaCXX/overloaded-operator.cpp
+++ b/test/SemaCXX/overloaded-operator.cpp
@@ -216,7 +216,7 @@
struct AX {
- AX& operator ->();
+ AX& operator ->(); // expected-note {{declared at}}
int b;
};
@@ -226,14 +226,14 @@
}
struct CircA {
- struct CircB& operator->();
+ struct CircB& operator->(); // expected-note {{declared at}}
int val;
};
struct CircB {
- struct CircC& operator->();
+ struct CircC& operator->(); // expected-note {{declared at}}
};
struct CircC {
- struct CircA& operator->();
+ struct CircA& operator->(); // expected-note {{declared at}}
};
void circ() {