summaryrefslogtreecommitdiff
path: root/clang/test/Index/Inputs/Headers/crash.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Index/Inputs/Headers/crash.h')
-rw-r--r--clang/test/Index/Inputs/Headers/crash.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Index/Inputs/Headers/crash.h b/clang/test/Index/Inputs/Headers/crash.h
new file mode 100644
index 0000000..238359a
--- /dev/null
+++ b/clang/test/Index/Inputs/Headers/crash.h
@@ -0,0 +1,6 @@
+// Produce a crash if CRASH is defined.
+#ifdef CRASH
+# pragma clang __debug crash
+#endif
+
+const char *getCrashString();