Skip to content

Commit f930983

Browse files
committed
add test
1 parent 5e9bfa7 commit f930983

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// RUN: %clang_cc1 -std=c++20 -ast-dump -ast-dump-filter=pr126341 %s | FileCheck %s
2+
3+
template<_Complex int x>
4+
struct pr126341;
5+
template<>
6+
struct pr126341<{1, 2}>;
7+
8+
// CHECK: Dumping pr126341:
9+
// CHECK-NEXT: ClassTemplateDecl
10+
// CHECK: Dumping pr126341:
11+
// CHECK-NEXT: ClassTemplateSpecializationDecl
12+
// CHECK-NEXT: `-TemplateArgument structural value '1+2i'

0 commit comments

Comments
 (0)