llvm-for-llvmta/tools/clang/test/CodeGenCXX/powerpc-byval.cpp

13 lines
233 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -emit-llvm %s -o - -triple=powerpc-unknown-linux | FileCheck %s
struct S {
S();
~S();
};
void byval(S one, S two) {
one = two;
}
// CHECK: define{{.*}} void @_Z5byval1SS_(%struct.S* %one, %struct.S* %two)