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

15 lines
240 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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;
}