summaryrefslogtreecommitdiff
path: root/clang/test/Analysis/html-diags-multifile.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/html-diags-multifile.h')
-rw-r--r--clang/test/Analysis/html-diags-multifile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Analysis/html-diags-multifile.h b/clang/test/Analysis/html-diags-multifile.h
new file mode 100644
index 0000000..71d39ba
--- /dev/null
+++ b/clang/test/Analysis/html-diags-multifile.h
@@ -0,0 +1,4 @@
+#define DEREF(p) *p = 0xDEADBEEF
+void has_bug(int *p) {
+ DEREF(p);
+}