1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -ast-dump %s | FileCheck -strict-whitespace %s
8 // CHECK: UsingDecl {{.*}} a::S
9 // CHECK-NEXT: | `-NestedNameSpecifier Namespace {{.*}} 'a'
10 // CHECK-NEXT: UsingShadowDecl {{.*}} implicit CXXRecord {{.*}} 'S'
11 // CHECK-NEXT: `-RecordType {{.*}} 'a::S'
12 typedef S f
; // to dump the introduced type
14 // CHECK-NEXT: `-ElaboratedType {{.*}} 'S' sugar
15 // CHECK-NEXT: `-UsingType {{.*}} 'a::S' sugar
16 // CHECK-NEXT: |-UsingShadow {{.*}} 'S'
17 // CHECK-NEXT: `-RecordType {{.*}} 'a::S'