Index: test/CodeGen/2018-05-20-ExpansionChecksum.c =================================================================== --- /dev/null +++ test/CodeGen/2018-05-20-ExpansionChecksum.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