summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/debug-info-this.cpp
blob: a2842d021783ee3c55b974c4bf1eeaa910d172ca (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s
// Radar 9239104
class Class
{
public:
//CHECK: DW_TAG_const_type
    int foo (int p) const {
        return p+m_int;
    }  

protected:
    int m_int;
};

Class c;