commit | be655784609964b3f09a4d051a9e3806243681ff | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Sun Feb 05 19:27:57 2012 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Sun Feb 05 19:27:57 2012 +0000 |
tree | e6261734d4c59d0b348451183ce055cc0c9aef0d | |
parent | 12efb16b010c62d85394b2e59db433dcfd1098c5 [diff] [blame] |
Testcase for commit 149833 (use of an uninitialized variable noticed by GCC). llvm-svn: 149840
diff --git a/llvm/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll b/llvm/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll new file mode 100644 index 0000000..419f594 --- /dev/null +++ b/llvm/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll
@@ -0,0 +1,6 @@ +; RUN: llc < %s -march=cpp +declare void @foo(<4 x i32>) +define void @bar() { + call void @foo(<4 x i32> <i32 0, i32 1, i32 2, i32 3>) + ret void +}