1 // RUN: %clang_cc1 %s -fno-rtti -debug-info-kind=line-tables-only -emit-llvm -o - | FileCheck %s
2 // RUN: %clang_cc1 %s -fno-rtti -debug-info-kind=line-directives-only -emit-llvm -o - | FileCheck %s
3 // Checks that clang with "-gline-tables-only" or "-gline-directives-only" doesn't emit debug info
4 // for variables and types.
6 // CHECK-NOT: DW_TAG_namespace
8 // CHECK-NOT: DW_TAG_class_type
9 // CHECK-NOT: DW_TAG_friend
10 class C
{ friend class D
; };
12 // CHECK-NOT: DW_TAG_inheritance
14 // CHECK-NOT: DW_TAG_reference type
26 // CHECK-NOT: DW_TAG_variable