xref: /aosp_15_r20/external/clang/test/CodeGenCXX/debug-info-method-nodebug.cpp (revision 67e74705e28f6214e480b399dd47ea732279e315)
1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
2 
3 class C {
4   void present();
5   void absent() __attribute__((nodebug));
6 };
7 
8 C c;
9 
10 // CHECK-NOT: name: "absent"
11 // CHECK:     name: "present"
12 // CHECK-NOT: name: "absent"
13