| 1 | // RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s |
|---|---|
| 2 | // Radar 9239104 |
| 3 | class Class |
| 4 | { |
| 5 | public: |
| 6 | //CHECK: DW_TAG_const_type |
| 7 | int foo (int p) const { |
| 8 | return p+m_int; |
| 9 | } |
| 10 | |
| 11 | protected: |
| 12 | int m_int; |
| 13 | }; |
| 14 | |
| 15 | Class c; |
| 16 |
| 1 | // RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s |
|---|---|
| 2 | // Radar 9239104 |
| 3 | class Class |
| 4 | { |
| 5 | public: |
| 6 | //CHECK: DW_TAG_const_type |
| 7 | int foo (int p) const { |
| 8 | return p+m_int; |
| 9 | } |
| 10 | |
| 11 | protected: |
| 12 | int m_int; |
| 13 | }; |
| 14 | |
| 15 | Class c; |
| 16 |