diff options
Diffstat (limited to 'llvm/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll')
-rw-r--r-- | llvm/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll b/llvm/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll new file mode 100644 index 00000000000..b8874883bc4 --- /dev/null +++ b/llvm/test/CodeGen/CBackend/2002-10-30-FunctionPointerAlloca.ll @@ -0,0 +1,12 @@ +; RUN: llvm-upgrade < %s | llvm-as | llc -march=c + + + %BitField = type int + %tokenptr = type %BitField* + +implementation + +void %test() { + %pmf1 = alloca %tokenptr (%tokenptr, sbyte*)* + ret void +} |