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