testsuite: update mangling
[official-gcc.git] / gcc / testsuite / g++.dg / cpp2a / spaceship-rewrite2.C
blob4f3d12757ffa460e3331b8fa47dfecfe87091a53
1 // Test that C++20 overload changes don't break sloppy code.
3 struct C {
4     bool operator==(const C&);
5     bool operator!=(const C&);
6 };
8 int main() {
9     C c1, c2;
10     (void)(c1 == c2);
11     (void)(c1 != c2);