mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 19:24:33 +00:00
Make these structs larger to ensure that they
are returned by struct return. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50038 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep sret | count 5
|
// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep sret | count 5
|
||||||
|
|
||||||
struct abc {
|
struct abc {
|
||||||
int a;
|
long a;
|
||||||
int b;
|
long b;
|
||||||
int c;
|
long c;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct abc foo1(void);
|
struct abc foo1(void);
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep sret | count 2
|
// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep sret | count 2
|
||||||
|
|
||||||
struct abc {
|
struct abc {
|
||||||
int a;
|
long a;
|
||||||
int b;
|
long b;
|
||||||
int c;
|
long c;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct abc foo2(){}
|
struct abc foo2(){}
|
||||||
|
Reference in New Issue
Block a user