summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/getSourceDescriptor-crash.cpp
blob: ebc25c0b1256bb988442019173b86fcb63d24e26 (plain)
1
2
3
4
5
6
7
8
9
// RUN: %clang_cc1 -I %S/Inputs/getSourceDescriptor-crash -S -emit-llvm -debug-info-kind=limited -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"
OpenPOWER on IntegriCloud