1cddc9993SBruno Ricci // Test without serialization:
2304d1304SKamlesh Kumar // RUN: %clang_cc1 -fsyntax-only %s -ast-dump | FileCheck %s
3cddc9993SBruno Ricci //
4cddc9993SBruno Ricci // Test with serialization:
5cddc9993SBruno Ricci // RUN: %clang_cc1 -emit-pch -o %t %s
6cddc9993SBruno Ricci // RUN: %clang_cc1 -x c++ -include-pch %t -ast-dump-all /dev/null \
7cddc9993SBruno Ricci // RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
8cddc9993SBruno Ricci // RUN: | FileCheck %s
9304d1304SKamlesh Kumar 
10304d1304SKamlesh Kumar struct B { _Alignas(64) struct { int b; };   };
11304d1304SKamlesh Kumar 
12*f63e3ea5SBruno Ricci // CHECK:  | `-AlignedAttr {{.*}} <col:12> _Alignas
13*f63e3ea5SBruno Ricci // CHECK-NEXT:  |   `-ConstantExpr {{.*}} <col:21> 'int'
14*f63e3ea5SBruno Ricci // CHECK-NEXT:  |     |-value: Int 64
15*f63e3ea5SBruno Ricci // CHECK-NEXT:  |     `-IntegerLiteral {{.*}} <col:21> 'int' 64
16