1 // RUN: %clang_cc1 -triple x86_64-apple-darwin10.0.0 -emit-llvm -o - %s -fexceptions -std=c++11 -debug-info-kind=limited | FileCheck %s
2 
3 struct D {
4   D();
5   D(const D&);
6   int x;
7   int d(int x);
8 };
9 int D::d(int x) {
10   [=] {
11     return this->x;
12   }();
13 }
14 
15 // CHECK: ![[POINTER:.*]] = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !"_ZTS1D", size: 64, align: 64)
16 // CHECK: !DIDerivedType(tag: DW_TAG_member, name: "this",
17 // CHECK-SAME:           line: 11
18 // CHECK-SAME:           baseType: ![[POINTER]]
19 // CHECK-SAME:           size: 64, align: 64
20 // CHECK-NOT:            offset: 0
21 // CHECK-SAME:           ){{$}}
22