mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
Test case for r127940.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7257897402
commit
d847f4702a
17
test/FrontendC/2011-03-18-StructReturn.c
Normal file
17
test/FrontendC/2011-03-18-StructReturn.c
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
// RUN: %llvmgcc %s -S -O0 -o - | FileCheck %s
|
||||||
|
// Radar 9156771
|
||||||
|
typedef struct RGBColor {
|
||||||
|
unsigned short red;
|
||||||
|
unsigned short green;
|
||||||
|
unsigned short blue;
|
||||||
|
} RGBColor;
|
||||||
|
|
||||||
|
RGBColor func();
|
||||||
|
|
||||||
|
RGBColor X;
|
||||||
|
void foo() {
|
||||||
|
//CHECK: store i48
|
||||||
|
X = func();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user