diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-05-24 14:24:44 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-05-24 14:24:57 -0700 |
commit | bf8c659ebc868649ceb570d780a8b3de9b6d18b9 (patch) | |
tree | 21136633a5818b74e0d76d5d22744f377722cf30 /tests | |
parent | c5732b99a69d611d3fb7fa9cd94ebb9b1f2497a5 (diff) |
handle globals with no value and no zeroinit
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cases/emptystruct.ll | 2 |
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 |