Mercurial > hg > CbC > CbC_llvm
diff clang/test/SemaTemplate/instantiate-member-class.cpp @ 173:0572611fdcc8 llvm10 llvm12
reorgnization done
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 25 May 2020 11:55:54 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line diff
--- a/clang/test/SemaTemplate/instantiate-member-class.cpp Mon May 25 11:50:15 2020 +0900 +++ b/clang/test/SemaTemplate/instantiate-member-class.cpp Mon May 25 11:55:54 2020 +0900 @@ -43,8 +43,8 @@ X<float>::X *xf; // expected-error{{qualified reference to 'X' is a constructor name rather than a type}} void test_naming() { - c1 = c2; // expected-error{{assigning to 'X<int>::C *' from incompatible type 'X<float>::C *'}} - xi = xf; // expected-error{{assigning to 'X<int>::X<int> *' from incompatible type 'X<float>::X<float> *'}} + c1 = c2; // expected-error{{incompatible pointer types assigning to 'X<int>::C *' from 'X<float>::C *'}} + xi = xf; // expected-error{{incompatible pointer types assigning to 'X<int>::X<int> *' from 'X<float>::X<float> *'}} // FIXME: error above doesn't print the type X<int>::X cleanly! }