Mercurial > hg > CbC > CbC_llvm
view clang/test/CodeGenCXX/debug-info-composite-triviality-fwd-decl.cpp @ 206:f17a3b42b08b
Added tag before-12 for changeset b7591485f4cd
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Jun 2021 21:25:57 +0900 (2021-06-07) |
parents | 0572611fdcc8 |
children | c4bab56944e8 |
line wrap: on
line source
// RUN: %clang_cc1 -emit-llvm -gcodeview -debug-info-kind=limited -x c %s -o - | FileCheck %s --check-prefix CHECK-C // RUN: %clang_cc1 -emit-llvm -gcodeview -debug-info-kind=limited -x c++ %s -o - | FileCheck %s --check-prefix CHECK-CXX // // Test for DIFlagNonTrivial on forward declared DICompositeTypes. struct Incomplete; struct Incomplete (*func_ptr)() = 0; // CHECK-C: !DICompositeType({{.*}}name: "Incomplete" // CHECK-C-NOT: DIFlagNonTrivial // CHECK-CXX: !DICompositeType({{.*}}name: "Incomplete" // CHECK-CXX-SAME: DIFlagNonTrivial