From f64387d8350dc9ed1002a3e139082b0cc3e92b48 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 23 Dec 2002 23:50:35 +0000 Subject: [PATCH] New testcase git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5121 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/BugPoint/misopt-basictest.ll | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 test/BugPoint/misopt-basictest.ll diff --git a/test/BugPoint/misopt-basictest.ll b/test/BugPoint/misopt-basictest.ll new file mode 100644 index 00000000000..2530ad0d7d5 --- /dev/null +++ b/test/BugPoint/misopt-basictest.ll @@ -0,0 +1,13 @@ +; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg + +%.LC0 = internal global [13 x sbyte] c"Hello World\0A\00" + +implementation + +declare int %printf(sbyte*, ...) + +int %main() { + call int(sbyte*, ...)* %printf( sbyte* getelementptr ([13 x sbyte]* %.LC0, long 0, long 0) ) + ret int 0 +} + -- 2.40.0