Added a string global variable.

llvm-svn: 796
This commit is contained in:
Vikram S. Adve 2001-10-14 23:13:45 +00:00
parent 1679709b71
commit 0504bf4616
1 changed files with 4 additions and 2 deletions

View File

@ -5,12 +5,14 @@
%AConst = constant int 123
%AString = constant [4 x ubyte] c"test"
implementation
int "foo"(int %blah)
begin
store int 5, int *%MyVar
store int 12, { \2 *, int } * %MyIntList, ubyte 1
ret int %blah
store int 12, { \2 *, int } * %MyIntList, ubyte 1
ret int %blah
end