aboutsummaryrefslogtreecommitdiff
path: root/test/Index/pch-with-errors.c
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-03-09 21:09:04 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-03-09 21:09:04 +0000
commitba50b3e8bc68bace2f6715111bbbb8510965be01 (patch)
tree37abb037c0aa9126f7b4fe4f7543d4cf77a15b9e /test/Index/pch-with-errors.c
parent8788b224aaa46ccb777e6a24550449dfbb9d195f (diff)
Allow serializing an invalid ParmVarDecl and don't set access to public for
invalid ParmVarDecls. Part of rdar://11007039. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152437 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Index/pch-with-errors.c')
-rw-r--r--test/Index/pch-with-errors.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Index/pch-with-errors.c b/test/Index/pch-with-errors.c
index 691eab4585..be8728eb72 100644
--- a/test/Index/pch-with-errors.c
+++ b/test/Index/pch-with-errors.c
@@ -13,6 +13,8 @@ struct baz {
zed h;
};
+void errparm(zed e);
+
struct S {
{
;