llvm-for-llvmta/tools/clang/test/Modules/getSourceDescriptor-crash.cpp

10 lines
329 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -I %S/Inputs/getSourceDescriptor-crash -S -emit-llvm -debug-info-kind=limited -debugger-tuning=lldb -fimplicit-module-maps %s -o - | FileCheck %s
#include "h1.h"
#include "h1.h"
// CHECK: DIImportedEntity
// CHECK-SAME: entity: ![[ENTITY:[0-9]+]]
// CHECK: ![[ENTITY]] = !DIModule
// CHECK-SAME: name: "foo"