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