From c77e727d4feeb078a078b6bef4b3eb9e74eed195 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Fri, 17 Jul 2009 11:44:20 +0000 Subject: [PATCH] Testcase for PR4214. llvm-svn: 76174 --- test/FrontendC/2009-07-17-VoidParameter.c | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 test/FrontendC/2009-07-17-VoidParameter.c diff --git a/test/FrontendC/2009-07-17-VoidParameter.c b/test/FrontendC/2009-07-17-VoidParameter.c new file mode 100644 index 00000000000..d5769524386 --- /dev/null +++ b/test/FrontendC/2009-07-17-VoidParameter.c @@ -0,0 +1,4 @@ +// RUN: %llvmgcc -S %s -o - +// PR4214 +typedef void vt; +void (*func_ptr)(vt my_vt);