projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
137b62c
)
Added a string global variable.
author
Vikram S. Adve
<vadve@cs.uiuc.edu>
Sun, 14 Oct 2001 23:13:45 +0000
(23:13 +0000)
committer
Vikram S. Adve
<vadve@cs.uiuc.edu>
Sun, 14 Oct 2001 23:13:45 +0000
(23:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@796
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Feature/globalvars.ll
patch
|
blob
|
history
diff --git
a/test/Feature/globalvars.ll
b/test/Feature/globalvars.ll
index b189dfc754180503d09c1b87e5f59b92767adfbc..3914efc3e4216368406ec805d75ec19643908190 100644
(file)
--- a/
test/Feature/globalvars.ll
+++ b/
test/Feature/globalvars.ll
@@
-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