1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=standalone -std=c++11 \
2 // RUN: -triple thumbv7-apple-ios %s -o - | FileCheck %s
4 // This forward-declared scoped enum will be created while building its own
5 // declcontext. Make sure it is only emitted once.
13 // CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "Return",
14 // CHECK-SAME: flags: DIFlagFwdDecl,
15 // CHECK-NOT: tag: DW_TAG_enumeration_type, name: "Return"