Finish off the refactoring of type handling stuff. Now we recompile every
tag decl after it has been completed
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@46798 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/types.c b/test/CodeGen/types.c
index 01286e8..2bbcec1 100644
--- a/test/CodeGen/types.c
+++ b/test/CodeGen/types.c
@@ -1,4 +1,4 @@
-// RUN: clang -emit-llvm %s
+// RUN: clang -emit-llvm <%s
struct FileName {
struct FileName *next;
@@ -10,7 +10,12 @@
} *exthead;
-void f()
+void test1()
{
struct ieeeExternal *exttmp = exthead;
}
+
+struct MpegEncContext;
+typedef struct MpegEncContext {int pb;} MpegEncContext;
+static void test2(void) {MpegEncContext s; s.pb;}
+