summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/debug-info-ctor.cpp
blob: c31eebe163ca5aff9455fd8187c03f521a29e958 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// RUN: %clang -emit-llvm -g -S %s -o - | FileCheck %s

struct X {
  X(int v);

  int value;
};

X::X(int v) {
  // CHECK_TEMPORARILY_DISABLED: call void @_ZN1XC2Ei(%struct.X* %this1, i32 %tmp), !dbg
  // TEMPORARY CHECK: X
  value = v;
}