diff options
author | Chris Lattner <sabre@nondot.org> | 2007-12-12 04:13:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-12-12 04:13:20 +0000 |
commit | c6208a72f73541455051421aef1f5094364a36a7 (patch) | |
tree | ed521dc24ca77d035cc182af45f699131af89796 /clang/test | |
parent | b3ba3d9827d398fd4c07019e067610f1d622ba10 (diff) | |
download | bcm5719-llvm-c6208a72f73541455051421aef1f5094364a36a7.tar.gz bcm5719-llvm-c6208a72f73541455051421aef1f5094364a36a7.zip |
Fix a codegen crash on test/CodeGen/cast.c, reported by Keith.
llvm-svn: 44908
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CodeGen/cast.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/cast.c b/clang/test/CodeGen/cast.c new file mode 100644 index 00000000000..dfd9bb87c3a --- /dev/null +++ b/clang/test/CodeGen/cast.c @@ -0,0 +1,6 @@ +// RUN: clang %s -emit-llvm + +extern void go(const void *p); +float v[2] = { 0.0, 1.0 }; +void foo(void) { go(v); } + |