// RUN: clang-diff -ast-dump %s -- -std=c++11 | FileCheck %s
// CHECK: {{^}}TranslationUnitDecl(0)
// CHECK: {{^}} NamespaceDecl: test;(
// end namespace test
// CHECK: UsingDirectiveDecl: test(
using namespace test;
// CHECK: TypedefDecl: nat;unsigned int;(
typedef unsigned nat;
// CHECK: TypeAliasDecl: real;double;(
using real = double;
;
// CHECK: CXXRecordDecl: X;X;(
;
// CHECK: FunctionDecl
// CHECK-NEXT: CompoundStmt
void
// CHECK-NEXT: NamespaceDecl
// CHECK-NEXT: FunctionDecl: sentinel
void ;