Use a using declaration to force the type to appear in the -ast-dump
output.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348241
91177308-0d34-0410-b5e6-
96231b3b80d8
// CHECK: |-ArrayInitLoopExpr 0x{{[^ ]*}} <col:15> 'int [10]'
// CHECK: | `-ArrayInitIndexExpr 0x{{[^ ]*}} <<invalid sloc>> 'unsigned long'
}
+
+template<typename T, int Size>
+class array {
+ T data[Size];
+
+ using array_T_size = T[Size];
+ // CHECK: `-DependentSizedArrayType 0x{{[^ ]*}} 'T [Size]' dependent <col:25, col:30>
+};
+