1 | //RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited -o - %s | FileCheck %s |
---|---|
2 | //CHECK: DILocalVariable( |
3 | class Foo |
4 | { |
5 | public: |
6 | int x; |
7 | int y; |
8 | Foo (int i, int j) { x = i; y = j; } |
9 | }; |
10 | |
11 | |
12 | Foo foo(10, 11); |
13 | |
14 | int main() { |
15 | int Foo::* pmi = &Foo::y; |
16 | return foo.*pmi; |
17 | } |
18 |