xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-this.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s
2*f4a2713aSLionel Sambuc // Radar 9239104
3*f4a2713aSLionel Sambuc class Class
4*f4a2713aSLionel Sambuc {
5*f4a2713aSLionel Sambuc public:
6*f4a2713aSLionel Sambuc //CHECK: DW_TAG_const_type
foo(int p) const7*f4a2713aSLionel Sambuc     int foo (int p) const {
8*f4a2713aSLionel Sambuc         return p+m_int;
9*f4a2713aSLionel Sambuc     }
10*f4a2713aSLionel Sambuc 
11*f4a2713aSLionel Sambuc protected:
12*f4a2713aSLionel Sambuc     int m_int;
13*f4a2713aSLionel Sambuc };
14*f4a2713aSLionel Sambuc 
15*f4a2713aSLionel Sambuc Class c;
16