// First check compiling and printing of this file.
//
// RUN: %clang_cc1 -verify -ast-print %s > %t.c
// RUN: FileCheck --check-prefixes=CHECK,PRINT %s --input-file %t.c
//
// Now check compiling and printing of the printed file.
//
// RUN: echo "// expected""-warning@* 6 {{'T' is deprecated}}" >> %t.c
// RUN: echo "// expected""-note@* 6 {{'T' has been explicitly marked deprecated here}}" >> %t.c
//
// RUN: %clang_cc1 -verify -ast-print -Wno-strict-prototypes %t.c \
// RUN: | FileCheck --check-prefixes=CHECK,PRINT %s
// END.
// CHECK-LABEL: defFirst
void
// CHECK-LABEL: defLast
void
// CHECK-LABEL: defMiddle
void
// CHECK-LABEL: declsOnly
void
// Check that tag decl groups stay together in decl contexts.
// PRINT-LABEL: enum DeclGroupAtFileScope {
// PRINT-NEXT: DeclGroupAtFileScope0
// PRINT-NEXT: } *DeclGroupAtFileScopePtr;
*DeclGroupAtFileScopePtr;
// PRINT-LABEL: struct DeclGroupInMemberList
;
;
// PRINT-LABEL: enum fixedEnum : int {
// PRINT-NEXT: fixedEnumerator
// PRINT-NEXT: };