summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/modified-header-crash.h
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-04-25 22:23:56 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-04-25 22:23:56 +0000
commitdaa41f59e43c7e1b3962a85a13ec77f220f83ae9 (patch)
treec33488ffce2f4c2c6fcfe03d8adbb417ee9c773c /clang/test/PCH/modified-header-crash.h
parente553e404676e1ccdb862d4bb2c2041227df7bf03 (diff)
downloadbcm5719-llvm-daa41f59e43c7e1b3962a85a13ec77f220f83ae9.tar.gz
bcm5719-llvm-daa41f59e43c7e1b3962a85a13ec77f220f83ae9.zip
Fix a crash when ASTReader emits diagnostic when another one is in flight. Fixes rdar//9334563.
llvm-svn: 130162
Diffstat (limited to 'clang/test/PCH/modified-header-crash.h')
-rw-r--r--clang/test/PCH/modified-header-crash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/test/PCH/modified-header-crash.h b/clang/test/PCH/modified-header-crash.h
new file mode 100644
index 00000000000..971746e3bd4
--- /dev/null
+++ b/clang/test/PCH/modified-header-crash.h
@@ -0,0 +1 @@
+int foo;
OpenPOWER on IntegriCloud