llvm-for-llvmta/tools/clang/test/CodeGenCXX/debug-info-ctor.cpp

15 lines
240 B
C++

// 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;
}