aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cases/emptystruct.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cases/emptystruct.ll b/tests/cases/emptystruct.ll
index 67967e65..ecf0e295 100644
--- a/tests/cases/emptystruct.ll
+++ b/tests/cases/emptystruct.ll
@@ -6,6 +6,8 @@ target triple = "i386-pc-linux-gnu"
@.str = private constant [14 x i8] c"hello, world!\00", align 1 ; [#uses=1]
+@.waka = extern_weak global i8* ; no initializer!
+
define i32 @main() nounwind {
entry:
%z = alloca %struct.s, align 4