summaryrefslogtreecommitdiff
path: root/clang/test/Misc/serialized-diags.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Misc/serialized-diags.h')
-rw-r--r--clang/test/Misc/serialized-diags.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Misc/serialized-diags.h b/clang/test/Misc/serialized-diags.h
new file mode 100644
index 0000000..d38a352
--- /dev/null
+++ b/clang/test/Misc/serialized-diags.h
@@ -0,0 +1,5 @@
+// This file intentionally has a bug. It is intended
+// to be used with serialized-diagnostics.c to show
+// how errors are handled with #includes in serialized
+// diagnostics.
+char *badStr = 1;