aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/Inputs/alignment.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/Inputs/alignment.ll')
-rw-r--r--test/Linker/Inputs/alignment.ll12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Linker/Inputs/alignment.ll b/test/Linker/Inputs/alignment.ll
new file mode 100644
index 0000000..337cb8e
--- /dev/null
+++ b/test/Linker/Inputs/alignment.ll
@@ -0,0 +1,12 @@
+@A = global i32 7, align 8
+@B = global i32 7, align 4
+
+define void @C() align 8 {
+ ret void
+}
+
+define void @D() align 4 {
+ ret void
+}
+
+@E = common global i32 0, align 8