From f5e84662c29d0a540586bead55dabdb25f403b39 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 3 Mar 2003 20:28:42 +0000 Subject: [PATCH] Add new testcase for forward reference of struct type git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5687 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CFrontend/2003-03-03-DeferredType.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/CFrontend/2003-03-03-DeferredType.c diff --git a/test/CFrontend/2003-03-03-DeferredType.c b/test/CFrontend/2003-03-03-DeferredType.c new file mode 100644 index 00000000000..b3487466188 --- /dev/null +++ b/test/CFrontend/2003-03-03-DeferredType.c @@ -0,0 +1,10 @@ + + + +struct foo A; + +struct foo { + int x; +double D; +}; +