debug-info-ctor.cpp revision f128b858871748d6342bc394af28ea4955b826be
1// RUN: %clang -march=x86_64-apple-darwin10 -emit-llvm -g -S %s -o - | FileCheck %s
2
3struct X {
4  X(int v);
5
6  int value;
7};
8
9X::X(int v) {
10  // CHECK: call void @_ZN1XC2Ei(%struct.X* %this1, i32 %tmp), !dbg
11  value = v;
12}
13
14