| commit | 009505452b713ed2e3a8e99c5545a6e721c65495 | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Wed Jun 06 20:29:01 2001 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Wed Jun 06 20:29:01 2001 +0000 |
| tree | 136a71c5b87bdf534d1f20a67558b49226b5a4d6 | |
| parent | 8d0afd3d32d1d67f9aa5df250a1d6955aa8f1ac9 [diff] [blame] |
Initial revision git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/teststruct.ll b/test/teststruct.ll new file mode 100644 index 0000000..b984219 --- /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