commit | fff3fe24303ee38f52f85f03ac89c444ca022e2c | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Jun 23 01:38:41 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Jun 23 01:38:41 2009 +0000 |
tree | 2149e6ab2a4da82646d4c5b6a5b9eb55de71ba01 | |
parent | b0fc999fb07646e67aab2a6bb3bb4ab0c95be384 [diff] |
fix PR4423. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73938 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/functions.c b/test/CodeGen/functions.c index 9855992..12dff1b 100644 --- a/test/CodeGen/functions.c +++ b/test/CodeGen/functions.c
@@ -33,3 +33,7 @@ // RUN: grep 'define .* @f3' %t | not grep -F '...' struct foo { int X, Y, Z; } f3() { } + +// PR4423 - This shouldn't crash in codegen +void f4() {} +void f5() { f4(42); }