diff --git a/test/CodeGen/pr13168.c b/test/CodeGen/pr13168.c new file mode 100644 index 0000000000..a848af472c --- /dev/null +++ b/test/CodeGen/pr13168.c @@ -0,0 +1,7 @@ +// RUN: %clang_cc1 -emit-llvm %s -o - + +typedef int (*_MD_Open64)(int oflag, ...); +_MD_Open64 _open64; +void PR_OpenFile(int mode) { +_open64(0, mode); +}