summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/test/AST/ast-dump-undeserialized.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/AST/ast-dump-undeserialized.cpp b/clang/test/AST/ast-dump-undeserialized.cpp
new file mode 100644
index 00000000000..12fccf4a05d
--- /dev/null
+++ b/clang/test/AST/ast-dump-undeserialized.cpp
@@ -0,0 +1,4 @@
+// RUN: %clang_cc1 %s -chain-include %s -ast-dump | FileCheck -strict-whitespace %s
+
+// CHECK: TranslationUnitDecl 0x{{.+}} <<invalid sloc>> <invalid sloc>
+// CHECK: `-<undeserialized declarations>
OpenPOWER on IntegriCloud