You've already forked linux-packaging-mono
acceptance-tests
data
debian
docs
external
Newtonsoft.Json
api-doc-tools
api-snapshot
aspnetwebstack
bdwgc
binary-reference-assemblies
bockbuild
boringssl
cecil
cecil-legacy
corefx
corert
helix-binaries
ikdasm
ikvm
illinker-test-assets
linker
llvm-project
clang
clang-tools-extra
compiler-rt
libcxx
libcxxabi
libunwind
lld
lldb
llvm
bindings
cmake
docs
examples
include
lib
projects
llvm-cbe
docs
include
lib
test
selectionsort
.gitignore
CBEWarningsErrors.txt
test001.c
test002.c
test003.c
test004.c
test005.c
test006.c
test007.c
test008.c
test009.c
test010.c
test011.c
test012.c
test013.c
test014.c
test015.c
test016.c
test017.c
test018.c
test019.c
test020.c
test021.c
test022.c
test023.c
test024.c
test025.c
test026.c
test027.c
test028.c
test029.c
test030.c
test031.c
test032.c
test033.c
test034.c
test035.c
test036.c
test037.c
test038.c
test039.c
test040.c
test041.c
test042.c
test043.c
test044.c
test045.c
test046.c
test047.c
test048.c
test049.c
test050.c
test051.c
test052.c
test053.c
test054.c
test055.c
test056.c
test057.c
test058.c
test059.c
test060.c
test061.c
test062.c
test063.c
test064.c
test065.c
test066.c
test067.c
test068.c
test069.c
test070.c
test071.c
test072.c
test073.c
test074.c
test075.c
test076.c
test077.c
test078.c
test079.c
test080.c
test081.c
test082.c
test083.c
test084.c
test085.c
test086.c
test087.c
test088.c
test089.c
test090.c
test091.c
test092.c
test093.c
test094.c
test095.c
test096.c
test097.c
test098.c
test099.c
test100.c
test101.c
test102.c
test103.c
test104.c
test105.c
testCaseInfo.csv
testFile.py
testbad.c
tools
.gitignore
CMakeLists.txt
LICENSE
README.md
CMakeLists.txt
LLVMBuild.txt
resources
runtimes
scripts
test
tools
unittests
utils
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in
openmp
polly
nuget-buildtasks
nunit-lite
roslyn-binaries
rx
xunit-binaries
how-to-bump-roslyn-binaries.md
ikvm-native
llvm
m4
man
mcs
mk
mono
msvc
netcore
po
runtime
samples
scripts
support
tools
COPYING.LIB
LICENSE
Makefile.am
Makefile.in
NEWS
README.md
acinclude.m4
aclocal.m4
autogen.sh
code_of_conduct.md
compile
config.guess
config.h.in
config.rpath
config.sub
configure.REMOVED.git-id
configure.ac.REMOVED.git-id
depcomp
install-sh
ltmain.sh.REMOVED.git-id
missing
mkinstalldirs
mono-uninstalled.pc.in
test-driver
winconfig.h
36 lines
762 B
C
36 lines
762 B
C
![]() |
//===-- CBackend.cpp - Library for converting LLVM code to C ----------------------===//
|
||
|
//
|
||
|
// The LLVM Compiler Infrastructure
|
||
|
//
|
||
|
// This file is distributed under the University of Illinois Open Source
|
||
|
// License. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===------------------------------------------------------------------------------===//
|
||
|
//
|
||
|
// This code tests to see that the CBE will pass a structure into a function correctly.
|
||
|
// *TW
|
||
|
//===------------------------------------------------------------------------------===//
|
||
|
|
||
|
int k = 0;
|
||
|
|
||
|
struct test{
|
||
|
int i;
|
||
|
float f;
|
||
|
};
|
||
|
|
||
|
void funct(struct test example){
|
||
|
k = example.i;
|
||
|
}
|
||
|
|
||
|
int main(){
|
||
|
struct test example;
|
||
|
|
||
|
example.i = 6;
|
||
|
example.f = 6.0;
|
||
|
funct(example);
|
||
|
|
||
|
return k;
|
||
|
}
|
||
|
|
||
|
|