Author: Younan Zhang Date: 2026-02-25T02:49:40Z New Revision: 2ff512b96742a9e3e51383f61e35b44ed85b3abb
URL: https://github.com/llvm/llvm-project/commit/2ff512b96742a9e3e51383f61e35b44ed85b3abb DIFF: https://github.com/llvm/llvm-project/commit/2ff512b96742a9e3e51383f61e35b44ed85b3abb.diff LOG: [Clang][NFC] Correct the test in PR183010 (#183226) We should test non-type-dependent type aliases. (I copy-pasted wrong code which is used for debugging. Thanks to Richard for spotting that) Added: Modified: clang/test/SemaTemplate/concepts.cpp Removed: ################################################################################ diff --git a/clang/test/SemaTemplate/concepts.cpp b/clang/test/SemaTemplate/concepts.cpp index 0737cd3aabcff..1d2ada3e0a398 100644 --- a/clang/test/SemaTemplate/concepts.cpp +++ b/clang/test/SemaTemplate/concepts.cpp @@ -1714,10 +1714,9 @@ template <typename T> requires false void f() = delete; -template <typename T> struct Bar {}; -template <typename T> using Foo = Bar<T>; +template <typename T> using Foo = Bar; template <typename T> void use() { f<Foo<T>>(); _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
