Mercurial > hg > CbC > CbC_llvm
diff clang/test/SemaTemplate/constructor-template.cpp @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
line wrap: on
line diff
--- a/clang/test/SemaTemplate/constructor-template.cpp Mon May 25 11:55:54 2020 +0900 +++ b/clang/test/SemaTemplate/constructor-template.cpp Tue Jun 08 06:07:14 2021 +0900 @@ -158,7 +158,7 @@ namespace self_by_value_2 { template <class T, class U> struct A { A() {} // expected-note {{not viable: requires 0 arguments}} - A(A<T,U> &o) {} // expected-note {{not viable: expects an l-value}} + A(A<T,U> &o) {} // expected-note {{not viable: expects an lvalue}} A(A<T,T> o) {} // expected-note {{ignored: instantiation takes its own class type by value}} };