aboutsummaryrefslogtreecommitdiffstats
path: root/test/BugPoint/misopt-basictest.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-12-23 23:50:35 +0000
committerChris Lattner <sabre@nondot.org>2002-12-23 23:50:35 +0000
commitf64387d8350dc9ed1002a3e139082b0cc3e92b48 (patch)
treef4193dc565e5e44f3cf89c19b109e67a68d6c830 /test/BugPoint/misopt-basictest.ll
parent4a10645c70199c8d8567fbc46312158c419720ab (diff)
downloadexternal_llvm-f64387d8350dc9ed1002a3e139082b0cc3e92b48.zip
external_llvm-f64387d8350dc9ed1002a3e139082b0cc3e92b48.tar.gz
external_llvm-f64387d8350dc9ed1002a3e139082b0cc3e92b48.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5121 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/BugPoint/misopt-basictest.ll')
-rw-r--r--test/BugPoint/misopt-basictest.ll13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/BugPoint/misopt-basictest.ll b/test/BugPoint/misopt-basictest.ll
new file mode 100644
index 0000000..2530ad0
--- /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
+}
+