Make all the 'redefinition' diagnostics more consistent, and make the
"previously defined here" diagnostics all notes.
llvm-svn: 59920
diff --git a/clang/test/SemaCXX/conversion-function.cpp b/clang/test/SemaCXX/conversion-function.cpp
index 3c2401f..17e73bc 100644
--- a/clang/test/SemaCXX/conversion-function.cpp
+++ b/clang/test/SemaCXX/conversion-function.cpp
@@ -34,8 +34,8 @@
typedef INT* INT_PTR;
class Z {
- operator int(); // expected-error{{previous declaration is here}}
- operator int**(); // expected-error{{previous declaration is here}}
+ operator int(); // expected-note {{previous declaration is here}}
+ operator int**(); // expected-note {{previous declaration is here}}
operator INT(); // expected-error{{conversion function cannot be redeclared}}
operator INT_PTR*(); // expected-error{{conversion function cannot be redeclared}}