Debian Codegraph @

clang/test/DebugInfo/CXX/incomplete-types.cpp

raw
1 // RUN: %clang_cc1 -debug-info-kind=limited -gomit-unreferenced-methods %s -emit-llvm -o - | FileCheck %s
2
3 struct t1 {
4 void f1();
5 void f2();
6 };
7
8 void t1::f1() { }
9
10 // CHECK: distinct !DICompositeType(tag: DW_TAG_structure_type, name: "t1"
11 // CHECK-SAME: elements: [[ELEMENTS:![0-9]+]]
12 // CHECK: [[ELEMENTS]] = !{}