[Clang] replace 'bitfield' with 'bit-field' for consistency (#117881)
[llvm-project.git] / clang / test / CodeGenCXX / debug-info-method-nodebug.cpp
blob0301e2f489475c3c56d044db0cc43ec500c064bc
1 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
3 class C {
4 void present();
5 void absent() __attribute__((nodebug));
6 };
8 C c;
10 // CHECK-NOT: name: "absent"
11 // CHECK: name: "present"
12 // CHECK-NOT: name: "absent"