[clang] [clang] CTAD: fix the aggregate deduction guide for alias templates. (PR #90894)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu May 2 12:49:51 PDT 2024
================
@@ -261,6 +261,13 @@ AG ag = {1};
// CHECK: | `-BuiltinType {{.*}} 'int'
// CHECK: `-ParmVarDecl {{.*}} 'int'
+template <typename X = int>
+using BG = G<int>;
+BG bg = {1.0};
+// CHECK-LABEL: Dumping <deduction guide for BG>
+// CHECK: FunctionTemplateDecl
----------------
erichkeane wrote:
Could these be `CHECK-NEXT` ?
https://github.com/llvm/llvm-project/pull/90894
More information about the cfe-commits
mailing list