1 | // RUN: rm -rf %t |
2 | |
3 | // RUN: %clang_cc1 -x objective-c++ -std=c++11 -debug-info-kind=standalone \ |
4 | // RUN: -dwarf-ext-refs -fmodules \ |
5 | // RUN: -fmodule-format=obj -fimplicit-module-maps -DMODULES \ |
6 | // RUN: -triple %itanium_abi_triple \ |
7 | // RUN: -fmodules-cache-path=%t %s -I %S/Inputs -I %t -emit-llvm -o - \ |
8 | // RUN: | FileCheck %s |
9 | |
10 | #include "DebugNestedB.h" |
11 | AF af; // This type is not anchored in the module. |
12 | |
13 | // CHECK: !DIDerivedType(tag: DW_TAG_typedef, name: "AF", |
14 | // CHECK-SAME: baseType: ![[AF:.*]]) |
15 | |
16 | // CHECK: ![[AF]] = {{.*}}!DICompositeType(tag: DW_TAG_structure_type, name: "A<F>", |
17 | // CHECK-SAME: elements: |
18 | |
19 | |