[llvm-commits] CVS: llvm/test/Feature/global_section.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Nov 11 16:10:14 PST 2005
Changes in directory llvm/test/Feature:
global_section.ll added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+10 -0)
global_section.ll | 10 ++++++++++
1 files changed, 10 insertions(+)
Index: llvm/test/Feature/global_section.ll
diff -c /dev/null llvm/test/Feature/global_section.ll:1.1
*** /dev/null Fri Nov 11 18:10:13 2005
--- llvm/test/Feature/global_section.ll Fri Nov 11 18:10:03 2005
***************
*** 0 ****
--- 1,10 ----
+ ; RUN: llvm-as %s -o - | llvm-dis > %t1.ll
+ ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
+ ; RUN: diff %t1.ll %t2.ll
+
+ %X = global int 4, section "foo", align 16
+
+ void %test() section "bar" {
+ ret void
+ }
+
More information about the llvm-commits
mailing list