xref: /llvm-project/clang/test/CodeGenCXX/powerpc-byval.cpp (revision 1b9a6e58a8b831193c9e5e733f881aabe0d2d06b)
1 // RUN: %clang_cc1 -emit-llvm %s -o - -triple=powerpc-unknown-linux | FileCheck %s
2 
3 struct S {
4   S();
5   ~S();
6 };
7 
byval(S one,S two)8 void byval(S one, S two) {
9   one = two;
10 }
11 
12 // CHECK: define{{.*}} void @_Z5byval1SS_(ptr noundef %one, ptr noundef %two)
13