mirror of https://github.com/microsoft/clang.git
Add a test case for r128957. It fixed a bug!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128966 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ddd72ac675
commit
97edcb6393
|
@ -0,0 +1,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;
|
Loading…
Reference in New Issue