commit | 5b55d9183d903eb5945cc1dbe72bc86a7a64de88 | [log] [tgz] |
---|---|---|
author | Nick Hildenbrandt <hldnbrnd@uiuc.edu> | Thu Oct 31 18:23:09 2002 +0000 |
committer | Nick Hildenbrandt <hldnbrnd@uiuc.edu> | Thu Oct 31 18:23:09 2002 +0000 |
tree | 7d99815fc93cedfc680501d8a05701da4acbcc33 | |
parent | 8cdd50d1776e5e8602a1b539e74478ceab84b119 [diff] [blame] |
CBE doesn't alloc correctly llvm-svn: 4474
diff --git a/llvm/test/Regression/CBackend/2002-10-30-FunctionPointerAlloca.ll b/llvm/test/Regression/CBackend/2002-10-30-FunctionPointerAlloca.ll new file mode 100644 index 0000000..2e21ee7 --- /dev/null +++ b/llvm/test/Regression/CBackend/2002-10-30-FunctionPointerAlloca.ll
@@ -0,0 +1,10 @@ + + %BitField = type int + %tokenptr = type %BitField* + +implementation + +void %test() { + %pmf1 = alloca %tokenptr (%tokenptr, sbyte*)* + ret void +}