xref: /llvm-project/clang/test/CodeGenCXX/debug-info-this.cpp (revision 0f1c1be1968076d6f96f8a7bcc4a15cf195ecd97)
1 // RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s
2 class Class
3 {
4 public:
5 //CHECK: DW_TAG_const_type
foo(int p) const6     int foo (int p) const {
7         return p+m_int;
8     }
9 
10 protected:
11     int m_int;
12 };
13 
14 Class c;
15