blob: e7155e76a1ccd24dee7c6bd7fe0ee80f414d0585 [file] [log] [blame]
Eric Christopher7106ec32012-09-19 21:47:34 +00001// RUN: %clang_cc1 -triple x86_64-apple-darwin10.0.0 -emit-llvm -o - %s -fexceptions -std=c++11 -g | FileCheck %s
2
3struct D {
4 D();
5 D(const D&);
6 int x;
7 int d(int x);
8};
9int D::d(int x) {
10 [=] {
11 return this->x;
12 }();
13}
14
David Blaikie86eac722013-03-19 23:10:14 +000015// CHECK: {{.*}} [ DW_TAG_member ] [this] [line 11, size 64, align 64, offset 0] [private] [from ]