minix/external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-ctor.cpp

15 lines
240 B
C++
Raw Normal View History

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