diff options
author | Duncan Sands <baldrick@free.fr> | 2012-02-05 19:27:57 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2012-02-05 19:27:57 +0000 |
commit | be655784609964b3f09a4d051a9e3806243681ff (patch) | |
tree | e6261734d4c59d0b348451183ce055cc0c9aef0d | |
parent | 12efb16b010c62d85394b2e59db433dcfd1098c5 (diff) | |
download | bcm5719-llvm-be655784609964b3f09a4d051a9e3806243681ff.tar.gz bcm5719-llvm-be655784609964b3f09a4d051a9e3806243681ff.zip |
Testcase for commit 149833 (use of an uninitialized variable noticed
by GCC).
llvm-svn: 149840
-rw-r--r-- | llvm/test/CodeGen/CPP/2012-02-05-UnitVarCrash.ll | 6 |
1 files changed, 6 insertions, 0 deletions
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 00000000000..419f5947678 --- /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 +} |