blob: 30ac7e33a803e5f8262f9ab5716bf9746a3d2a67 [file] [log] [blame]
// RUN: %clang_cc1 -std=c++20 -triple x86_64-pc-linux %s -ast-dump | FileCheck %s
// RUN: %clang_cc1 -std=c++20 -triple x86_64-pc-win32 %s -ast-dump | FileCheck %s
template<class X>
struct DefaultConstructibleWithTemplate {
template<class T = int>
DefaultConstructibleWithTemplate();
};
void f() {
DefaultConstructibleWithTemplate<int> x;
}
// CHECK: | `-ClassTemplateSpecializationDecl {{.*}} struct DefaultConstructibleWithTemplate definition
// CHECK: | | |-CXXConstructorDecl {{.*}} DefaultConstructibleWithTemplate 'void ()'