brintos

brintos / llvm-project-archived public Read only

0
0
Text · 769 B · 6144964 Raw
20 lines · cpp
1// UNSUPPORTED: target={{.*}}-zos{{.*}}, target={{.*}}-aix{{.*}}2// RUN: rm -rf %t3 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 %s10 11#include "DebugNestedB.h"12AF 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 20