Douglas Katzman | 3459ce2 | 2015-10-08 04:24:12 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s |
Paul Robinson | 6a7511b | 2015-06-25 17:50:43 +0000 | [diff] [blame] | 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" |