blob: 64073bf224441505f61af985a1fcc0859e40b162 [file] [log] [blame]
Stephen Kelly765e1a42018-12-02 16:36:23 +00001// RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump %s | FileCheck -strict-whitespace %s
2
3void testArrayInitExpr()
4{
5 int a[10];
6 auto l = [a]{
7 };
8 // CHECK: |-ArrayInitLoopExpr 0x{{[^ ]*}} <col:15> 'int [10]'
Stephen Kellye8e4f092018-12-02 16:42:34 +00009 // CHECK: | `-ArrayInitIndexExpr 0x{{[^ ]*}} <<invalid sloc>> 'unsigned long'
Stephen Kelly765e1a42018-12-02 16:36:23 +000010}