trixirt updated this revision to Diff 148228.
trixirt added a comment.

Rename test to dwarf5-expansion-checksum.c


Repository:
  rC Clang

https://reviews.llvm.org/D47260

Files:
  test/CodeGen/dwarf5-expansion-checksum.c


Index: test/CodeGen/dwarf5-expansion-checksum.c
===================================================================
--- /dev/null
+++ test/CodeGen/dwarf5-expansion-checksum.c
@@ -0,0 +1,10 @@
+// RUN: %clang -c -gdwarf-5 %s  -o /dev/null
+// Don't crash calculating the checksum of string.h
+#if __has_include("/usr/include/string.h")
+#define __NTH fct
+void fn1() {}
+# 7 "/usr/include/string.h"
+#if 8
+void __NTH() {}
+#endif
+#endif


Index: test/CodeGen/dwarf5-expansion-checksum.c
===================================================================
--- /dev/null
+++ test/CodeGen/dwarf5-expansion-checksum.c
@@ -0,0 +1,10 @@
+// RUN: %clang -c -gdwarf-5 %s  -o /dev/null
+// Don't crash calculating the checksum of string.h
+#if __has_include("/usr/include/string.h")
+#define __NTH fct
+void fn1() {}
+# 7 "/usr/include/string.h"
+#if 8
+void __NTH() {}
+#endif
+#endif
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to