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