Mercurial > hg > CbC > CbC_llvm
diff clang/test/SemaTemplate/template-decl-fail.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 |
line wrap: on
line diff
--- a/clang/test/SemaTemplate/template-decl-fail.cpp Mon May 25 11:55:54 2020 +0900 +++ b/clang/test/SemaTemplate/template-decl-fail.cpp Tue Jun 08 06:07:14 2021 +0900 @@ -4,7 +4,7 @@ template<typename T> enum t0 { A = T::x }; // expected-error{{enumeration cannot be a template}} \ - // expected-warning{{declaration does not declare anything}} + // expected-error{{declaration does not declare anything}} enum e0 {}; template<int x> enum e0 f0(int a=x) {}