diff options
author | Amaury Sechet <deadalnix@gmail.com> | 2016-03-13 00:58:25 +0000 |
---|---|---|
committer | Amaury Sechet <deadalnix@gmail.com> | 2016-03-13 00:58:25 +0000 |
commit | b325686764c3f04c9c40427b27d563530844eb91 (patch) | |
tree | 3f863b4b8b3b3ae331fd21843a5473e39c0d5263 /llvm/test/Bindings/llvm-c | |
parent | 006ce6327ecc460becaf9f7711c861f817b2fab7 (diff) | |
download | bcm5719-llvm-b325686764c3f04c9c40427b27d563530844eb91.tar.gz bcm5719-llvm-b325686764c3f04c9c40427b27d563530844eb91.zip |
Add echo test for constant data arrays in the LLVM C API
llvm-svn: 263350
Diffstat (limited to 'llvm/test/Bindings/llvm-c')
-rw-r--r-- | llvm/test/Bindings/llvm-c/echo.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/test/Bindings/llvm-c/echo.ll b/llvm/test/Bindings/llvm-c/echo.ll index 0b6cf0c7a1c..689577a7002 100644 --- a/llvm/test/Bindings/llvm-c/echo.ll +++ b/llvm/test/Bindings/llvm-c/echo.ll @@ -11,6 +11,8 @@ target triple = "x86_64-apple-macosx10.11.0" @ext = external global i32* @cst = constant %S { i64 1, %S* @cst } @tl = thread_local global { i64, %S* } { i64 1, %S* @cst } +@arr = linkonce_odr global [5 x i8] [ i8 2, i8 3, i8 5, i8 7, i8 11 ] +@str = private unnamed_addr constant [13 x i8] c"hello world\0A\00" @hidden = hidden global i32 7 @protected = protected global i32 23 @section = global i32 27, section ".custom" |