llvm-for-llvmta/tools/clang/test/CodeGen/2010-02-10-PointerName.c

10 lines
177 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 %s -emit-llvm -debug-info-kind=limited -o - | FileCheck %s
// CHECK: DW_TAG_pointer_type
// CHECK-NOT: {"char"}
char i = 1;
void foo() {
char *cp = &i;
}