diff options
Diffstat (limited to 'test/teststruct.ll')
-rw-r--r-- | test/teststruct.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/teststruct.ll b/test/teststruct.ll new file mode 100644 index 0000000000..b9842199e3 --- /dev/null +++ b/test/teststruct.ll @@ -0,0 +1,13 @@ +%structty = type { int, int } + +{ int, int } { int 4, int 3 } + +implementation + +[[2 x int]] "test function"(int %i0, int %j0) + %array = [[2 x int]] [ + [2 x int] [ int 12, int 52 ] + ] +begin + ret [[2x int]] %array +end |