diff options
author | Chris Lattner <sabre@nondot.org> | 2008-07-31 04:58:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-07-31 04:58:58 +0000 |
commit | 05d2fb40859bbfc081ab08379452db876545bff6 (patch) | |
tree | af7a18ced0c691c16fdb31fdc3f795d2776991f7 /test/CodeGen/functions.c | |
parent | c5004516489c931cf839bdbdde5a76e4074cc888 (diff) |
Fix a regression I introduced in r54107:
http://llvm.org/viewvc/llvm-project?view=rev&revision=54107
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/functions.c')
-rw-r--r-- | test/CodeGen/functions.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/CodeGen/functions.c b/test/CodeGen/functions.c index 09cb9786da..60e2b6c80c 100644 --- a/test/CodeGen/functions.c +++ b/test/CodeGen/functions.c @@ -1,4 +1,4 @@ -// RUN: clang %s -emit-llvm +// RUN: clang %s -emit-llvm -o - int g(); int foo(int i) { @@ -9,3 +9,9 @@ int g(int i) { return g(i); } +// rdar://6110827 +typedef void T(void); +void test3(T f) { + f(); +} + |