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