commit | 7cd302fcfb950163e729fb7289ef8d9fe6cea7a8 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Thu Jun 21 23:49:18 2012 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Thu Jun 21 23:49:18 2012 +0000 |
tree | 806bafff1dde6ca89c18c1f193155cf23f0ab0e5 | |
parent | 4e294eea2c8a8965e24682ed9da8944969830813 [diff] [blame] |
Add the testcase from pr13168. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158950 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/pr13168.c b/test/CodeGen/pr13168.c new file mode 100644 index 0000000..a848af4 --- /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); +}